EigenMathScript01
From Physiki
Main Page | > | Mathematical and Computer Sciences Course Wikis | > | AEM Spring2009 |
Script for , where f is 2π - periodic
a=0
a(n)=0
b(n) = (2 (-1)^(n+1))/n
N=10
f(x) = a+ sum(n,1,N, a(n) * cos(n*x)+b(n)*sin(n*x))
draw(f)