From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2207/CH3/EX3.6.1/ex_3_6_1.sce | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 2207/CH3/EX3.6.1/ex_3_6_1.sce (limited to '2207/CH3/EX3.6.1') diff --git a/2207/CH3/EX3.6.1/ex_3_6_1.sce b/2207/CH3/EX3.6.1/ex_3_6_1.sce new file mode 100755 index 000000000..896ed28ee --- /dev/null +++ b/2207/CH3/EX3.6.1/ex_3_6_1.sce @@ -0,0 +1,33 @@ +// Example 3.6.1: average load voltage,rms load voltage,average and rms load currents ,form factor and ripple factor +clc; +clear; +close; +format('v',7) +R=10;//IN OHMS +r=10;//IN OHMS +Vi=230;//in volts +alpha=60;//fiirng angle in degree +Vm=Vi*sqrt(2);//in voltas +Vldc=((Vm)/%pi)*(1+cosd(alpha));//average load voltgae +disp("part (a)") +disp(Vldc,"average load voltage in volts") +disp("part (b)") +r=10;//IN OHMS +Vi=230;//in volts +alpha=60;//fiirng angle in degree +Vm=Vi*sqrt(2);//in voltas +Vlms=((Vm/(sqrt(2)))*(((%pi-%pi/3)+(sind(2*%pi/3))/2)/%pi)^(1/2));// +disp(Vlms,"rms load voltage in volts") +//rms voltage is calculated wrong in the textbook +disp("part (c)") +Ildc=Vldc/R;// in amperes +Irms=Vlms/R;// in amperes +disp(Irms,"rms load current in ampere") +disp(Ildc,"average load current in ampere") +//rms load current is wrong in the textbook +disp("part (d)") +ff=Vlms/Vldc; +disp("form factor is "+string(ff)+" or "+string(ff*100)+" %") +rf=sqrt(ff^2-1);// +disp("ripple factor is "+string(rf)+ " or "+string(rf*100)+" %") +//form factor and ripple factor is calculated wrong in the textbook -- cgit