//Example_a_4_8 page no:178 clc; Ip=10;//peak current in mA taken from i(t) equation Ipp=2*Ip; Irms=0.707*Ip; Iav=0.637*Ip; disp(Ip,"the peak value of current is (in mA)"); disp(Ipp,"the peak to peak value of current is(in mA)"); disp(Irms,"the rms value of current is (in mA)"); disp(Iav,"the average value of current is (in mA)");