A single-phase, full wave diode rectifier is connected to an RL load, the waveforms of the supply voltage vs and load current i. Derive the input power factor of the rectifier when: (1) the load inductance is zero. (2) the load inductance is infinite.