summaryrefslogtreecommitdiff
path: root/3890/CH3/EX3.13
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3890/CH3/EX3.13
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2
Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip
Added new codeHEADmaster
Diffstat (limited to '3890/CH3/EX3.13')
-rw-r--r--3890/CH3/EX3.13/Ex3_13.pngbin0 -> 47578 bytes
-rw-r--r--3890/CH3/EX3.13/Ex3_13.sce26
2 files changed, 26 insertions, 0 deletions
diff --git a/3890/CH3/EX3.13/Ex3_13.png b/3890/CH3/EX3.13/Ex3_13.png
new file mode 100644
index 000000000..069f1d66d
--- /dev/null
+++ b/3890/CH3/EX3.13/Ex3_13.png
Binary files differ
diff --git a/3890/CH3/EX3.13/Ex3_13.sce b/3890/CH3/EX3.13/Ex3_13.sce
new file mode 100644
index 000000000..76a429388
--- /dev/null
+++ b/3890/CH3/EX3.13/Ex3_13.sce
@@ -0,0 +1,26 @@
+//Electric machines and power systems by Syed A Nasar
+//Publisher:TataMcgraw Hill
+//Year: 2002 ; Edition - 7
+//Example 3.13
+//Scilab Version : 6.0.0 ; OS : Windows
+
+clc;
+clear;
+
+p=80; //power input in W
+v=120; //supply voltage in V
+I=1.4; //supply current in A
+R=.25; //primary resistance in ohm
+X=1.2; //leakage reactance in ohm
+
+pf=p/(v*I);
+th=acosd(pf);
+i=I*(cos(th)-%i*sin(th))
+E=v-(I*(R+%i*X));
+Rc=abs(E)^2/(p-(I^2)*R);
+Ic=abs(E)/Rc;
+Im=(I^2-Ic^2)^(1/2);
+xm=E/Im;
+
+printf('The magnetising reactance is %f ohms\n',xm)
+printf('The core loss equivalent resistance is %f ohms',Rc)