diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2384/CH5/EX5.16/ex5_16.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2384/CH5/EX5.16/ex5_16.sce')
-rwxr-xr-x | 2384/CH5/EX5.16/ex5_16.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/2384/CH5/EX5.16/ex5_16.sce b/2384/CH5/EX5.16/ex5_16.sce new file mode 100755 index 000000000..420163b9e --- /dev/null +++ b/2384/CH5/EX5.16/ex5_16.sce @@ -0,0 +1,27 @@ +// Exa 5.16
+clc;
+clear;
+close;
+format('v',7)
+// Given data
+P = 18;// in kW
+P= P*10^3;// in W
+I_L = 60;// in A
+V_L = 440;// in V
+f= 50;// in Hz
+// P = sqrt(3)*V_L*I_L*cosd(phi);
+phi= acosd(P/(sqrt(3)*V_L*I_L));// in °
+I_L= I_L*expm(phi*%pi*%i/180);// in A
+I_Ph= I_L;// in A
+V_Ph= V_L/sqrt(3);// in V
+Z_Ph= V_Ph/I_Ph;// in ohm
+R= real(Z_Ph);// in ohm
+XC=abs(imag(Z_Ph));// in ohm
+C = 1/(2*%pi*f*XC);// in F
+C=C*10^6;// in µF
+// Power factor
+pf= cosd(phi);// lead
+disp("The power factor is : "+string(pf)+" leading")
+disp(R,"The resistance in Ω is : ")
+disp(C,"The capacitance in µF is : ");
+disp("The load is capacitive in nature.")
|