summaryrefslogtreecommitdiff
path: root/1760/CH2/EX2.39/EX2_39.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1760/CH2/EX2.39/EX2_39.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1760/CH2/EX2.39/EX2_39.sce')
-rwxr-xr-x1760/CH2/EX2.39/EX2_39.sce29
1 files changed, 29 insertions, 0 deletions
diff --git a/1760/CH2/EX2.39/EX2_39.sce b/1760/CH2/EX2.39/EX2_39.sce
new file mode 100755
index 000000000..9937b8270
--- /dev/null
+++ b/1760/CH2/EX2.39/EX2_39.sce
@@ -0,0 +1,29 @@
+ //EXAMPLE-2-39 PG NO-89
+V=7.07;
+I=4.24;
+W=500;
+S=V*I;
+cosQ=0.6428;
+sinQ=0.766;
+P=S*cosQ; //ACTIVE POWER
+Q=S*sinQ; //REACTIVE POWER
+Z=V/I; //IMPEDANCE
+R=Z*cosQ; //RESISTANCE
+Xc=Z*sinQ; //Xc
+C=1/(W*Xc); //CAPACITOR
+P2 =S*(cosQ-1); //NEGATIVE PEAK POWER
+P3 =S*(cosQ+1); //POSITIVE PEAK POWER
+P1=(P3 +P2)/2; // POWER
+S1=(P3-P1); //apparent power
+disp(' S is = '+string(S)+' VA');
+disp(' ACTIVE POWER is = '+string(P)+' W');
+disp(' REACTIVE POWER is = '+string(Q)+' VAr');
+disp(' IMPEDANCE is = '+string(Z)+' ohm');
+disp(' RESISTANCE is = '+string(R)+'ohm ');
+disp(' Xc is = '+string(Xc)+' ohm');
+disp(' CAPACITOR is = '+string(C)+' F');
+disp(' POWER CURVE is = '+string(P2)+' W');
+disp(' POWER CURVE is = '+string(P3)+' W');
+disp(' POWER is = '+string(P1)+' W');
+disp(' S is = '+string(S1)+' VA');
+