D. Plot of Frequency Response Create superimposed plots of the magnitude of the transfer function versus frequency for the lter in Fig. 1 under two conditions: I) With ideal component values. 2) With actual component values (that is, including RS). VHI. CONSTRUCTION AND MEASUREMENT OF FILTER CIRCUIT Construct the lter circuit in Fig. 1 on a breadboard and connect a function generator to the input. (This is via) in Fig. I.) To facilitate debugging, start by connectingRl and C 1 and setting the input signal to a 1V high square wave. For a square wave input, v06) will show a characteristic exponential RC charge and discharge curve. Having veried this waveform and sketched it in your laboratory notebook, connect L and C2. With the complete circuit, switch the circuit input waveform to a sinusoid and measure the frequency response of the circuit. The procedure is as follows. Using 3 1V amplitude (2V pk-pk) input sinusoid, measure the amplitude of the lter output sinusoid for frequencies between f : 0 Hz to f : 6 kHz. Select points that will adequately reveal the shape of the frequency response curve. Note that frequencies near 1 kHz and 3 kHz are of particular interest. Use MATLAB to plot the magnitude of the lter output versus frequency in Hz. Superimpose the results on your dual plot of the predicted frequency response from the previous section. Be careful to convert the previous plot's [9 from units of radians per second to units of Hertz. Comment in your lab notebook on the accuracy of the predicted values. 1X. EFFECT OF FILTER 0N TRIANGLE WAVE To illustrate the effect of the lter on a non-sinusoidal waveform, set the input signal to be a 1 kHz triangular waveform. According to Fourier theory, the triangular waveform at 1 kHz is equal to a summation of sinusoids of frequencies 1 kHz, 3 kHz, 5 kHz, etc. The formula for a triangular waveform is as follows: 8 _ 1 . 1 . = .11." n- + :1." v(t) :2 s1n(2 1k t) 2s1n(2 3kt) g2_s1n(2 5k 1') (1) According to the principle of superposition, the output of the lter will be the summation of the response of the lter to each of the sinusoids in (1). The output amplitude will be the input amplitude times the frequency response for that frequency. Since our lter is designed to eliminate the 1 kHz signal and pass the 3 kHz signal, we would expect that the output signal would look more like the 3 kHz signal with an amplitude of 8/ 91:2. Note that the 5 kHz signal is