Power Series and Taylor Graphs
using Maple
> | with(plots): |
Warning, the name changecoords has been redefined
Here is the graph for the function in Power Series Example 3.
> | plot(sum((-1)^(n+1)*(x/3)^n/(4*n),n=1..100),x=-2.99..2.99,thickness=3,labels=[x,y]); |
> | evalf((2/3)^101/(4*101)); |
Below we see the construction of some Taylor polynomial approximations for .
> | taylor(exp(x),x=0); |
If you increase the value of "Order" you will get more terms.
> | Order:=10; |
> | taylor(exp(x),x=0); |
> | t:=taylor(exp(x),x=0); |
> | p:=convert(t,polynom); |
> | eGraph:=plot(exp(x),x=-7..7,thickness=3): |
> | ePolyGraph:=plot(p,x=-7..7,thickness=3,color=blue): |
> | display(eGraph,ePolyGraph); |
> |