summaryrefslogtreecommitdiff
path: root/1760/CH2/EX2.31
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.31
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.31')
-rwxr-xr-x1760/CH2/EX2.31/EX2_31.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1760/CH2/EX2.31/EX2_31.sce b/1760/CH2/EX2.31/EX2_31.sce
new file mode 100755
index 000000000..a37bbd5cc
--- /dev/null
+++ b/1760/CH2/EX2.31/EX2_31.sce
@@ -0,0 +1,13 @@
+ //EXAMPLE 2-31 PG NO=82
+Z1=20.15+%i*15.18;
+Z2=6.99+%i*17.29;
+Z=Z1+Z2; //impedance
+V=230+%i*0;
+I=V/Z; //Current
+PF=0.64; //Power Factotr
+S=V*I; //Apparent Power
+P=S*PF; //Active Power
+disp(' Impedanceis in rectangular form = '+string(Z)+' ohm');
+disp(' current is in rectangular form = '+string(I)+' A');
+disp(' S is in rectangular form = '+string(S)+' VA');
+disp(' POWER is in rectangular form = '+string(P)+' W');