blob: 350658f5b6a51605d63473bc75a2cb1ee787a445 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example_a_4_2 page no:176
clc;
Ip=10;//peak value of current form the current equation(in milliAmpere)
Irms=Ip/sqrt(2);
Ipp=2*Ip;
Iav=Ip*0.637;
disp(Ip,"the peak value of current is (in mA)");
disp(Irms,"the rms value of current is (in mA)");
disp(Ipp,"the peak to peak value of current is (in mA)");
disp(Iav,"the average value of current is (in mA)");
|