While calculating RMS current in [half wave rectifier](http://www.google.com/search?as_q=half+wave+rectifier), why we will consider only half wave that means only we consider the limits 0 to pi. But here RMS current is for AC input..so why don't we consider and calculate as 0 to 2pi? Please clarify this.