Three rows (square, triangle, exponential-decay example). Left: original. Middle: original (light gray) + reconstruction (blue). Right: stem plot of bⱼ. Common slider controls K.
K
12
Original function (even, period 1)
Reconstruction using K coefficients
Cosine-series coefficients bⱼ (stem)
original (in middle column)
reconstruction (in middle column)
stems (right column)