From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 608/CH21/EX21.14/21_14.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 608/CH21/EX21.14/21_14.sce (limited to '608/CH21/EX21.14/21_14.sce') 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 -- cgit