It is zero elsewhere, so you can ignore that section.
My doubt is can I break the signal in a triangle and a straight line, then calculating fourier series for each. Will this break may affect my answer (magnitude * frequency)
Kshitij Singh answered .
2025-11-20
syms w t f1(t) f2(t) f1(t) = 40*t; f2(t) = 40-40*t; F(w) = int(f1(t)*exp(1i*w*t), t, 0, 0.5) + int(f2(t)*exp(1i*w*t), t, 0.5, 1); F(w) = simplify(F(w), 'steps',20) F(w) = -(40*(exp((w*1i)/2) - 1)^2)/w^2