1 2 3 4
//Example_a_4_5 page no:177 clc; Vrms=sqrt(5^2+(5^2/2));//the values are taken by comparing the given equation with rms equation disp(Vrms,"the rms value of the waveform is");