diff options
Diffstat (limited to '1445/CH3/EX3.6/Ex3_6.sce')
-rw-r--r-- | 1445/CH3/EX3.6/Ex3_6.sce | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/1445/CH3/EX3.6/Ex3_6.sce b/1445/CH3/EX3.6/Ex3_6.sce index 52cdce49a..192081a59 100644 --- a/1445/CH3/EX3.6/Ex3_6.sce +++ b/1445/CH3/EX3.6/Ex3_6.sce @@ -1,6 +1,7 @@ //CHAPTER 3- THREE-PHASE A.C. CIRCUITS //Example 6 +clc; disp("CHAPTER 3"); disp("EXAMPLE 6"); @@ -14,17 +15,17 @@ pow_fact=0.81; //solution (a) p_in=p_out/eff; -disp(sprintf("(a) The motor input is %.2f kW",p_in/1000)); +disp(sprintf("(a) The motor input is %f kW",p_in/1000)); //solution (b) I=p_in/(sqrt(3)*v_l*pow_fact);//phase current = line current for star connection -disp(sprintf("(b) The line and phase current of the alternator is %.2f A",I)); +disp(sprintf("(b) The line and phase current of the alternator is %f A",I)); //solution (c) I_l=I; I_ph=I_l/sqrt(3); //phase current = (line current)/sqrt(3) for delta connection -disp(sprintf("(c) The line current of the motor is %.2f A",I_l)); -disp(sprintf("The phase current of the motor is %.2f A",I_ph)); +disp(sprintf("(c) The line current of the motor is %f A",I_l)); +disp(sprintf("The phase current of the motor is %f A",I_ph)); //Answers may be different due to precision of floating point numbers |