summaryrefslogtreecommitdiff
path: root/2078/CH2/EX2.4/Example2_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2078/CH2/EX2.4/Example2_4.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 '2078/CH2/EX2.4/Example2_4.sce')
-rwxr-xr-x2078/CH2/EX2.4/Example2_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2078/CH2/EX2.4/Example2_4.sce b/2078/CH2/EX2.4/Example2_4.sce
new file mode 100755
index 000000000..988d6ab4b
--- /dev/null
+++ b/2078/CH2/EX2.4/Example2_4.sce
@@ -0,0 +1,13 @@
+//Exa 2.4
+clc;
+clear;
+close;
+
+disp("For three wire dc system, line current I1=(VS-VL)/R & P1=2*VL*I1=2*VL*(VS-VL)/R");
+disp("For four wire three phase ac system, line current I2=(VS-VL)/R & P2=3*VL*I2*pf=3*VL*(VS-VL)/R");
+//P2=3/2*2*VL*(VS-VL)/R////It implies that P2=3/2*P1
+P1=poly(0,'P1');
+P2=3/2*P1;
+Diff=P2-P1;
+Percent_Diff=coeff(numer(Diff/P1*100));//%
+disp(Percent_Diff,"Extra power that can be supplied in %");