A square wave distribution note.

619
b_n = 2/Lint_0^Lf(x)sin((npix)/L)dx

= 4/(npi)sin^2(1/2npi)

= 2/(npi)[1-(-1)^n]

= 4/(npi){0 n even; 1 n odd.

f(x)=4/pisum_(n=1,3,5,...)^infty1/nsin((npix)/L).


This is clearly a square wave distribution.

desmos.com/calculator/4f0xd9cxco

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.