Ganitha Lokaಗಣಿತ ಲೋಕ ಅಕಾಡೆಮಿ

Fourier series (with sound)

Add harmonics one by one to build square, sawtooth and triangle waves from sines and cosines. See the Gibbs phenomenon and listen to how the sound changes as harmonics are added.

Loading the simulation…

How to use

  1. Choose a wave.
  2. Increase the number of harmonics.
  3. Press the sound buttons to hear the difference.

Formula

$f(x) = \dfrac{a_0}{2} + \sum_{n=1}^{\infty}(a_n \cos nx + b_n \sin nx)$

Level: UG (BSc / BE / BCA), PG (MSc / KSET / NET) · Topic: Calculus

Frequently asked questions

What is the Gibbs phenomenon?

The partial sums overshoot near a jump by about 9%, no matter how many terms are added.

Which harmonics make a square wave?

Only the odd ones: sin x, sin 3x/3, sin 5x/5, …

Related tools

← All maths tools