if the input waveform is as shown in the figure