Sums of Sine Waves with Several Step Sizes (Sawtooth or Square Approximations)

This Demonstration shows the functions , for values of that run from 1 to the maximum frequency in steps of size in the bottom plot, and their sum in the top plot. This illustrates an approximation of standard waves (sawtooth, square, etc.) by adding sine waves (Fourier method).
Adding 30 waves with step size , the graph of the sum approximates a sawtooth curve:
.
With 30 waves and step size , the graph of the sum approximates a square wave:
.
With 15 waves and step size :
.
In general, for the step size :
).
The step size parameter gives interesting artificial waves such as natural harmonics.

comments
 
Powered by Wolfram Mathematica
Give us your feedback
Give us your feedback

Source page:




 often  occasionally  never

Note: Please do not include anything you consider confidential or proprietary. Your message and contact information may be shared with the author of any specific Demonstration for which you give feedback, but will not otherwise be published or distributed.
Privacy Policy »

Note: To run this Demonstration you need the free
Mathematica Player
or Mathematica 7+
Download or upgrade to Mathematica Player 7
I already have Mathematica Player or Mathematica 7+