summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.27/Ex8_27.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH8/EX8.27/Ex8_27.sce')
-rw-r--r--1445/CH8/EX8.27/Ex8_27.sce10
1 files changed, 5 insertions, 5 deletions
diff --git a/1445/CH8/EX8.27/Ex8_27.sce b/1445/CH8/EX8.27/Ex8_27.sce
index e6422663f..7dbf5ed65 100644
--- a/1445/CH8/EX8.27/Ex8_27.sce
+++ b/1445/CH8/EX8.27/Ex8_27.sce
@@ -1,10 +1,11 @@
//CHAPTER 8- DIRECT CURRENT MACHINES
//Example 27
+clc;
disp("CHAPTER 8");
disp("EXAMPLE 27");
-//DC series motor, 200V DC motor
+
//VARIABLE INITIALIZATION
v_t=200; //in volts
r_a=0.06; //in Ohms
@@ -14,13 +15,12 @@ p_i=20*1000; //in Watts
//SOLUTION
//solution (a)
-//Il=Ia=Ise= Pinput/Vt
-I_a=p_i/v_t; // armature current
-E_b=v_t-I_a*(r_a+r_se); // back emf
+I_a=p_i/v_t;
+E_b=v_t-I_a*(r_a+r_se);
disp(sprintf("(a) The counter emf of the motor is %d V",E_b));
//solution (b)
-p_a=E_b*I_a; // power developed in armature
+p_a=E_b*I_a;
p_a=p_a/1000; //from W to kW
disp(sprintf("(b) The power developed in the armature is %d kW",p_a));