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 --- 2384/CH5/EX5.9/ex5_9.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2384/CH5/EX5.9/ex5_9.sce (limited to '2384/CH5/EX5.9/ex5_9.sce') diff --git a/2384/CH5/EX5.9/ex5_9.sce b/2384/CH5/EX5.9/ex5_9.sce new file mode 100755 index 000000000..91c5ebdc9 --- /dev/null +++ b/2384/CH5/EX5.9/ex5_9.sce @@ -0,0 +1,21 @@ +// Exa 5.9 +clc; +clear; +close; +format('v',6) +// Given data +W1 = 300;// in kW +W2 = 100;// in kW +V_L= 2000;// in V +Eta= 90/100; +P = W1+W2;// in kW +disp(P,"The power input in kW is"); +// tan(phi) = sqrt(3)*((W1-W2)/(W1+W2)); +phi = atand(sqrt(3)*((W1-W2)/(W1+W2))); +pf = cosd(phi);// power factor +disp(pf,"The power factor is"); +// P = sqrt(3)*V_L*I_L*cosd(phi); +I_L = (P*10^3)/(sqrt(3)*V_L*pf);// in A +disp(I_L,"The line current in A is"); +output = P*Eta;// in kW +disp(output,"The power output in kW is"); -- cgit