In an exercise where I have to calculate the fourier series of the following function: $cos(\frac{\pi\cdot t}{2})$ I am given this question:
Write the integral of $a_0$ and calculate it. Does it match with the expected value of the DC-offset?
I calculated $a_0$ to be $a_0=4/\pi$. I also calculated the DC-offset to be $DC_{offset}=0.637$.
What do they mean by "Does it match with the expected value of the DC-offset?"
EDIT:
The function is limited to the following [-1; 1], which means my integrals are between -1 and 1:
I thus calculated $a_0$ the following way:

