summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.13/Ex8_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH8/EX8.13/Ex8_13.sce')
-rw-r--r--1445/CH8/EX8.13/Ex8_13.sce8
1 files changed, 4 insertions, 4 deletions
diff --git a/1445/CH8/EX8.13/Ex8_13.sce b/1445/CH8/EX8.13/Ex8_13.sce
index 2e1e3d493..8512b6a9e 100644
--- a/1445/CH8/EX8.13/Ex8_13.sce
+++ b/1445/CH8/EX8.13/Ex8_13.sce
@@ -1,10 +1,10 @@
//CHAPTER 8- DIRECT CURRENT MACHINES
//Example 13
+clc;
disp("CHAPTER 8");
disp("EXAMPLE 13");
-//4 pole shunt generator
//VARIABLE INITIALIZATION
P=4; //number of poles
v_t=220; //in Volts
@@ -17,15 +17,15 @@ drop=1; //contact drop per brush
//solution (i)
A=P; //for lap winding
I_f=v_t/r_f; //I_f is same as I_sh
-I_a=I_l+I_f; //induced emf
+I_a=I_l+I_f;
I_c=I_a/A; //conductor current
disp(sprintf("The current in each conductor of the armature is %d A",I_c));
//solution (ii)
v_a=I_a*r_a; //armature voltage drop
v_b=2*drop; //brush drop
-emf=v_t+v_a+v_b; //total emf generated
-disp(sprintf("The total emf generated is %.1f V",emf));
+emf=v_t+v_a+v_b;
+disp(sprintf("The total emf generated is %f V",emf));
//END