> T:= n -> taylor(exp(x),x=0,n+1);

T := proc (n) options operator, arrow; taylor(exp(x...

> for n from 0 to 10 do

> print(T(n));

> od;

series(1+O(x),x,1)

series(1+1*x+O(x^2),x,2)

series(1+1*x+1/2*x^2+O(x^3),x,3)

series(1+1*x+1/2*x^2+1/6*x^3+O(x^4),x,4)

series(1+1*x+1/2*x^2+1/6*x^3+1/24*x^4+O(x^5),x,5)

series(1+1*x+1/2*x^2+1/6*x^3+1/24*x^4+1/120*x^5+O(x...

series(1+1*x+1/2*x^2+1/6*x^3+1/24*x^4+1/120*x^5+1/7...

series(1+1*x+1/2*x^2+1/6*x^3+1/24*x^4+1/120*x^5+1/7...

series(1+1*x+1/2*x^2+1/6*x^3+1/24*x^4+1/120*x^5+1/7...

series(1+1*x+1/2*x^2+1/6*x^3+1/24*x^4+1/120*x^5+1/7...

series(1+1*x+1/2*x^2+1/6*x^3+1/24*x^4+1/120*x^5+1/7...

> T(5);

series(1+1*x+1/2*x^2+1/6*x^3+1/24*x^4+1/120*x^5+O(x...

> plot({exp(x),convert(T(1),polynom)},x=-10..10, y=-3..20,numpoints=500);

[Maple Plot]

> Q := n -> taylor(sin(x),x=0,n+1);

Q := proc (n) options operator, arrow; taylor(sin(x...

> plot({sin(x),convert(Q(10),polynom)},x=-12..12, y=-2..2,numpoints=500);

[Maple Plot]

> Q(1);

series(1*x+O(x^2),x,2)

> Q(2);

series(1*x+O(x^3),x,3)

> Q(3);

series(1*x-1/6*x^3+O(x^4),x,4)

> Q(10);

series(1*x-1/6*x^3+1/120*x^5-1/5040*x^7+1/362880*x^...

> T:= n -> taylor(cos(x),x=Pi/4,n+1);

T := proc (n) options operator, arrow; taylor(cos(x...

> T(3);

series(1/2*sqrt(2)+(-1/2*sqrt(2))*(x-1/4*Pi)+(-1/4*...

>