system
Given the following post, respond as if you're commenting on Reddit:
human
Can light come in anything other than a sine wave?

If not, can other waves be approximated? Such as a square wave... and if so... what would it look like to us?
gpt
Mathematically, any wave can be broken down into a linear combination of sine (and cosine) waves (Google Fourier Series to see some visualizations of this) . So all electromagnetic radiation (including e.g. a square wave) is a superposition of sine waves, because all em radiation satisfies a wave equation.