kvadratvåg
Kvadratvåg is the Swedish term for a square wave, a simple periodic waveform that alternates abruptly between two levels, usually represented as -A and +A or 0 and 1. The waveform has a fundamental frequency equal to the reciprocal of its period and contains no even harmonics; its harmonic content consists solely of odd multiples of the fundamental frequency (third, fifth, seventh, etc.). In the Fourier series representation of an ideal square wave, the amplitude of the nth odd harmonic decreases proportionally to 1/n. This harmonic structure gives the square wave its characteristic timbre in audio and its sharp edges in electronic circuits.
The square wave is widely used in digital electronics as a clock signal, because its constant frequency
Generating a square wave can be accomplished with various methods. Hardware approaches include using a relaxation