summaryrefslogtreecommitdiff
path: root/3890/CH6/EX6.12/Ex6_12.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3890/CH6/EX6.12/Ex6_12.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3890/CH6/EX6.12/Ex6_12.sce')
-rw-r--r--3890/CH6/EX6.12/Ex6_12.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3890/CH6/EX6.12/Ex6_12.sce b/3890/CH6/EX6.12/Ex6_12.sce
new file mode 100644
index 000000000..f63b0362f
--- /dev/null
+++ b/3890/CH6/EX6.12/Ex6_12.sce
@@ -0,0 +1,23 @@
+//Electric machines and power systems by Syed A Nasar
+//Publisher:Tata McGraw Hill
+//Year: 2002 ; Edition - 7
+//Example 6.12
+//Scilab Version : 6.0.0 ; OS : Windows
+
+clc;
+clear;
+
+At1=2000; //amper eturns per pole
+Va=250; //armature voltage in v
+Ia=100; //armature current in A
+Ra=0.12; //armature resistance in ohm
+N=1200; //speed in rpm
+
+E=Va-Ia*Ra;
+E1=212; //from graph 6.41
+N1=N*E/E1;
+n1=N1*2*3.14/60;
+T=E*Ia/n1;
+
+printf('The motor speed is %f rpm[%f rad/s]\n',N1,n1);
+printf('the torque is %f Nm',T)