diff options
Diffstat (limited to '608/CH21/EX21.14/21_14.sce')
-rwxr-xr-x | 608/CH21/EX21.14/21_14.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/608/CH21/EX21.14/21_14.sce b/608/CH21/EX21.14/21_14.sce new file mode 100755 index 000000000..f98ecf87a --- /dev/null +++ b/608/CH21/EX21.14/21_14.sce @@ -0,0 +1,19 @@ +//Problem 21.14: The armature of a d.c. machine has a resistance of 0.25 ohm and is connected to a 300 V supply. Calculate the e.m.f. generated when it is running: (a) as a generator giving 100 A, and (b) as a motor taking 80 A.
+
+//initializing the variables:
+Ra = 0.25; // in ohms
+V = 300; // in Volts
+Ig = 100; // in Amperes
+Im = 80; // in Amperes
+
+//calculation:
+//As a generator, generated e.m.f.,
+// E = V + Ia*Ra
+Eg = V + Ig*Ra
+//For a motor, generated e.m.f. (or back e.m.f.),
+// E = V - Ia*Ra
+E = V - Im*Ra
+
+printf("\n\n Result \n\n")
+printf("\n (a)As a generator, generated e.m.f. is %.0f V ",Eg)
+printf("\n (b)back e.m.f. is %.0f V ",E)
\ No newline at end of file |