diff options
Diffstat (limited to '1445/CH3/EX3.7/Ex3_7.sce')
-rw-r--r-- | 1445/CH3/EX3.7/Ex3_7.sce | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/1445/CH3/EX3.7/Ex3_7.sce b/1445/CH3/EX3.7/Ex3_7.sce index 3371d0fe9..68e1d82ad 100644 --- a/1445/CH3/EX3.7/Ex3_7.sce +++ b/1445/CH3/EX3.7/Ex3_7.sce @@ -1,6 +1,7 @@ //CHAPTER 3- THREE-PHASE A.C. CIRCUITS //Example 7 +clc; disp("CHAPTER 3"); disp("EXAMPLE 7"); @@ -19,7 +20,7 @@ disp(sprintf("The current in the three phases are %d A, %d A and %d A",I1,I2,I3) I_x=0+I2*(sqrt(3)/2)-I3*(sqrt(3)/2); //x-component of the three currents =>I_x = I1*cos(90) + I2*cos(30) + I3*cos(30) I_y=I1-(I2*0.5)-(I3*0.5); //y-component of the three currents =>I_y = I1*sin(90) + I2*sin(30) + I3*sin(30) I=sqrt((I_x^2)+(I_y^2)); -disp(sprintf("The neutral current is %.2f A",I)); +disp(sprintf("The neutral current is %f A",I)); p1=v_ph*I1; //power consumed in 1st phase p2=v_ph*I2; //power consumed in 2nd phase |