diff options
Diffstat (limited to '1445/CH8/EX8.1/Ex8_1.sce')
-rw-r--r-- | 1445/CH8/EX8.1/Ex8_1.sce | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/1445/CH8/EX8.1/Ex8_1.sce b/1445/CH8/EX8.1/Ex8_1.sce index 05b16b236..ed8d63fa5 100644 --- a/1445/CH8/EX8.1/Ex8_1.sce +++ b/1445/CH8/EX8.1/Ex8_1.sce @@ -1,10 +1,10 @@ //CHAPTER 8- DIRECT CURRENT MACHINES //Example 1 +clc; disp("CHAPTER 8"); disp("EXAMPLE 1"); -//shunt generator //VARIABLE INITIALIZATION v_t=250; //terminal voltage in Volts I_l=500; //load current in Amperes @@ -12,10 +12,10 @@ r_a=0.04; //armature resistance in Ohms r_f=50; //shunt field resistance in Ohms //SOLUTION -I_f=v_t/r_f; // current through the shunt field winding -I_a=I_l+I_f; //Armature Current +I_f=v_t/r_f; +I_a=I_l+I_f; E_a=v_t+(I_a*r_a); //E_a=emf of generator -disp(sprintf("The generated emf is %.1f V",E_a)); +disp(sprintf("The generated emf is %f V",E_a)); //END |