I've a theoretical circuit that resembles an on-off switch with a duty cycle of 50%. The voltage input to the circuit is a constant 5v. The current drawn from the source is 1A when switch is ON and 0A when OFF. What is the Vrms and Irms? From what I know: Vrms for constant 5v is 5v. Irms for above current (square wave with 50% duty cycle) would be I/√2 = 1/√2. This imples P=Vrms*Irms = 5/√2 However, if we separately do some calculations for power, it would be like 5*1*0.5 (V*I*duty chle) = 5/2. Can this discrepancy be explained please? Please let me know what am I missing.