This program mathematically builds a square wave out of sine waves! It works by adding odd whole-number multiples of the base frequency at a decay rate of 1/n. Also check out my Triangle Wave project!