summaryrefslogtreecommitdiff
path: root/3760/CH1/EX1.42/Ex1_42.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3760/CH1/EX1.42/Ex1_42.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 '3760/CH1/EX1.42/Ex1_42.sce')
-rw-r--r--3760/CH1/EX1.42/Ex1_42.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3760/CH1/EX1.42/Ex1_42.sce b/3760/CH1/EX1.42/Ex1_42.sce
new file mode 100644
index 000000000..726360d18
--- /dev/null
+++ b/3760/CH1/EX1.42/Ex1_42.sce
@@ -0,0 +1,20 @@
+clc;
+// From fig 1.45
+N1=1000; // no of turns on primary
+N2=400; // no. of turns on secondary
+n2=300; // no. of turns across points A and B
+l1=600; // a load of 600 KW connected between points A and C
+l2=60+60*%i; // load connected between points A and B
+E=30000; // primary supply voltage
+vac=E*(N2/N1); // secondary side voltage
+I1=(l1*1000)/vac; // current through load of 600 KW
+vab=(vac/N2)*n2; // volatge across pints A and B
+I2=vab/l2 ; // load current through load of 60+60i
+iba=I1+I2; // current through section Ab of winding
+mfs=iba*n2+I1*(N2-n2); // seconadry mmf
+ip=mfs/N1;
+printf('primary current is %f%fi A\n',real(ip),imag(ip));
+Pi=(E*abs(ip)*cos(atan(imag(ip),real(ip))))/1000;
+printf('primary power input is %f KW\n',Pi);
+pf=cos(atan(imag(ip),real(ip)))
+printf('power factor at primary terminal is %f lagging',pf)