summaryrefslogtreecommitdiff
path: root/3745/CH1/EX1.12/Ex1_12.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3745/CH1/EX1.12/Ex1_12.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3745/CH1/EX1.12/Ex1_12.sce')
-rw-r--r--3745/CH1/EX1.12/Ex1_12.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3745/CH1/EX1.12/Ex1_12.sce b/3745/CH1/EX1.12/Ex1_12.sce
new file mode 100644
index 000000000..9bdeee200
--- /dev/null
+++ b/3745/CH1/EX1.12/Ex1_12.sce
@@ -0,0 +1,24 @@
+// Ex 12 Page 353
+
+clc;clear;close;
+// Given
+VRY=200*expm(%i*0);//V
+VYB=200*expm(%i*-120*%pi/180);//V
+VBR=200*expm(%i*120*%pi/180);//V
+
+
+ZA=10*expm(%i*60*%pi/180);//ohm
+ZB=10*expm(%i*0*%pi/180);//ohm
+ZC=10*expm(%i*60*%pi/180);//ohm
+
+//Phase current
+IRY=VRY/ZA;//A
+IYB=VYB/ZB;//A
+IBR=VBR/ZC;//A
+
+IR=IRY-IBR;//A
+PVA=conj(VRY)*IR;//W
+printf("Wattmeter W1 reading=%.f W",real(PVA))
+IB=IBR-IYB;//A
+PVB=conj(-VYB)*IB;//W
+printf("\n Wattmeter W2 reading=%.f W or %.f kW",real(PVB),real(PVB)/1000)