Explain periodic functions with illustrations and state Fourier's theorem and deduce the conditions for S.H.M.?