The average value of output direct current in a half wave rectifier is
=(average value of current over a cycle)2
= (2 I0π)2 = I0π