summaryrefslogtreecommitdiff
path: root/608/CH21/EX21.20
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /608/CH21/EX21.20
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 '608/CH21/EX21.20')
-rwxr-xr-x608/CH21/EX21.20/21_20.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/608/CH21/EX21.20/21_20.sce b/608/CH21/EX21.20/21_20.sce
new file mode 100755
index 000000000..4f5124520
--- /dev/null
+++ b/608/CH21/EX21.20/21_20.sce
@@ -0,0 +1,20 @@
+//Problem 21.20: A 240 V shunt motor takes a total current of 30 A. If the field winding resistance Rf = 150 ohm and the armature resistance Ra = 0.4 ohm. determine (a) the current in the armature, and (b) the back e.m.f.
+
+//initializing the variables:
+Rf = 150; // in Ohms
+Ra = 0.4; // in Ohms
+I = 30; // in Amperes
+V = 240; // in Volts
+
+//calculation:
+//Field current If
+If = V/Rf
+//Supply current I = Ia + If
+//Hence armature current, Ia
+Ia = I - If
+//Back e.m.f. E = V - Ia*Ra
+E = V - (Ia*Ra)
+
+printf("\n\n Result \n\n")
+printf("\n (a) current in the armature is %.1f A ",Ia)
+printf("\n (b) Back e.m.f. E is %.2f V ",E) \ No newline at end of file