blob: 84ebf12ad4560ec8e1dc27179858ef3bf3a0fa2d (
plain)
1
2
3
4
5
6
7
8
9
10
|
//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)");
|