Section 1.1 #1(c)

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

[Maple Math]

> f:=N->1/2+1/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.1ex1c.html

Revised 30 September 1999 by John Hebron.