> | restart: |
> | f := sin; |
> | Poly := n-> convert( taylor(f(x), x=0, n+1), polynom); |
> | with(plots): |
Warning, the name changecoords has been redefined
> | for i from 1 by 2 to 15 do print(Poly(i)); plot([f(x),Poly(i)],x=-2*Pi..2*Pi, y=-5..5, thickness=3, color=[red,blue], scaling=constrained, title=convert(i,string)) od; |
> |
Maple
TM is a registered trademark of Waterloo Maple Inc.
Math rendered by
WebEQ