The set of interactive pages with the following structure:
Example of Computations $\mathbb{\implies}$ Your Experiments $\mathbb{\implies}$ Python Modules $\mathbb{\implies}$ Other Languages
Click the $\mathbb{activate}$ button below to display an interactive example.
@interact
def _(N=(24,1,-1)):
var('x'); f=sin(x)*exp(1)^(-x)
p=plot(f,-1,6,thickness=5,color='#3636ff',alpha=.5)+\
sum([plot(f.taylor(x,0,i),-1,6,hue=cos(i/24),thickness=1,
legend_label=str(i)) for i in [1..N]])
ti=r'$Taylor \ Series \ f=sin \ x \cdot e^{-x}$'
p.show(ymin=-.5,ymax=.5,figsize=(7,5),
gridlines=True,title=ti,fontsize=12)
Type your own SageMath code lines below and click the $\mathbb{evaluate}$ button.
This code cell was evaluated automatically.