
For the above waveform i can calculate the Average value and the RMS value as below
Avg Voltage = 1/0.1*(10*0.07 + 0 * 0.03)=0.7/0.1 = 7 V
Avg Current = 1/0.1*(0*0.05 + 4 * 0.05) = 2 A
Rms Voltage = 10*Sqrt(D) = 10*Sqrt(0.7) = 8.3V
RMS Current = 4*Sqrt(0.5) = 2.82A
Now my main question is when to use the average value and when to use rms value for example in power calculations etc. I was always of the impression that RMS values are only calculated for singnals whose Average value is 0 for example periodic sine signals etc. Is my understanding correct?

