FOURIER SERIES

WRITTEN BY : Donald Kiel, Cal State, Los Angeles           
                         (dkiel@neptune.calstatela.edu) 

CATEGORY:Mathematics

APPLICATION:
Fourier Series approximations are very useful in many applications.  In the 
application we discuss in this section we use only the sine series approximation 
to the square wave 

        y  =  (4/pi)sin(x) + (4/3pi)sin(3x) + (4/5pi)sin(5x) + ... + (4/kpi)sin(kx) 

This application allows up to 12 terms of this series (k=25).  It also allows a 
choice of axes and it has the ability to overlay one series over another to see the 
change in accuracy.  One can also observe the Gibbs phenomenon of the 
"spikes" at the points of discontinuity.

USAGE: Demonstration of FourierSeries in mathematics classes.

DEVELOPMENT: NeXTSTEP 2.0