summaryrefslogtreecommitdiff
path: root/215/CH12/EX12.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /215/CH12/EX12.4
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 '215/CH12/EX12.4')
-rwxr-xr-x215/CH12/EX12.4/ex12_4.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/215/CH12/EX12.4/ex12_4.sce b/215/CH12/EX12.4/ex12_4.sce
new file mode 100755
index 000000000..69de13e66
--- /dev/null
+++ b/215/CH12/EX12.4/ex12_4.sce
@@ -0,0 +1,21 @@
+clc
+//Example 12.4
+//Calculate the line current
+//Continuing from example 12.3
+Vp=300/sqrt(3);
+IL=2.89;pf=0.8
+disp('A balanced 600W lighting load is added in parallel with the existing load')
+disp('600W if balanced then 200W will be consumed by each phase')
+Vpadd=200;
+//From figure 12.17
+I1=Vpadd/Vp
+disp('Load current is unchanged')
+I2mag=IL
+I2ph=(acos(pf)*180)/%pi
+x=I2mag * cos (( I2ph * %pi ) /180) ;
+y=I2mag * sin (( I2ph * %pi ) /180) ;
+z= complex (x,y)
+disp(z)
+ILnew=I1+z
+[ILmag ILph]=polar(ILnew)
+printf("Line current=%3.2f /_%3.2f deg A \n ",ILmag,ILph*(180/%pi)); \ No newline at end of file