So I have been trying to solve this question for some time now but I couldn't find much information on how to solve it. There is much information in the case of for (-π,π) over the period of 2π but nothing in the case of (0,2π).
Problem:
Let f be a $2π$-periodic function given in the $[0,2π[$ as: $$f(x)=1 , x ∈ [0,\frac{7π}{16}[$$ $$f(x)=5 , x ∈ [\frac{11π}{16},\frac{7π}{16}[$$ $$f(x)=4 , x ∈ [\frac{11π}{16},2π[$$
We need to find $a_0$ , $a_n$,$b_n$ and finally find the value of the series for $x =\frac{7π}{16}$