Mathematics help

  1. Find the Fourier Series of the triangle wave which is defined by
    f(x) = -2|x - 0.5| + 1
    for 0.5 ≤ x ≤ 1.5 and is periodic outside this region.

Hi jeanneeeeette

Use fft function that makes discreet fourier transform applying a fast fourier transform algorithm, then apply the relation between the fourier series and fourier transform.