Design a suitable low pass filter to remove the harmonic contentof a 1KHz square wave to produce a 1KHz sine wave with less than1.5% harmonic distortion contributed by the first harmonicabove the fundamental. Assume a 1V amplitude square wave (zero dcoffset), design for a DC gain of k. Use the Butterworthapproximation and set 1-dB bandwidth of the filter to 1KHz.S(note: k=10x).
(a) Write the Fourier series for the squarewave
(b) Define fp, fs, Amax andAmin required to meet stated specifications Hence sketch required frequencyresponse
(d) Calculate the order of Butterworth filter to achieve specifications