Section 1.1 #1(b)

> g:=n->(1-(-1)^n)/n^2*cos(n*x);

[Maple Math]

> f:=N->Pi/2+2/Pi*sum(g(n),n=1..N);

[Maple Math]

> plot(f(5),x=-2*Pi..3*Pi);

[Maple Plot]

> plot(f(10),x=-2*Pi..3*Pi);

[Maple Plot]

> plot(f(100),x=-2*Pi..3*Pi);

[Maple Plot]


SFU / Math & Stats / ~hebron / math314 / assignments / sol02maple /  1.1ex1b.html

Revised 30 September 1999 by John Hebron.