The average value of output direct current in a half wave rectifier is
If i0,irms and imean are the values of peak, rms and mean currents of a.c, then