diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1445/CH10/EX10.3 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1445/CH10/EX10.3')
-rw-r--r-- | 1445/CH10/EX10.3/Ex10_3.sce | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/1445/CH10/EX10.3/Ex10_3.sce b/1445/CH10/EX10.3/Ex10_3.sce index 5473f2615..d29fc922d 100644 --- a/1445/CH10/EX10.3/Ex10_3.sce +++ b/1445/CH10/EX10.3/Ex10_3.sce @@ -1,6 +1,7 @@ //CHAPTER 10- THREE-PHASE INDUCTION MACHINES //Example 3 +clc; disp("CHAPTER 10"); disp("EXAMPLE 3"); @@ -42,14 +43,14 @@ N_r=round(N_r); disp(sprintf("(vi) The speed of rotor at 10%% slip is %d rpm",N_r)); s1=(N_s-N_r)/N_s; fr=s1*f; -disp(sprintf(" The rotor frequency at this speed is %.0f Hz",fr)); +disp(sprintf(" The rotor frequency at this speed is %f Hz",fr)); //solution (vii) v=230; ratio1=1/0.5; //stator to rotor turns ratio E_rotor=v*(1/ratio1); E_rotor_dash=ratio*E_rotor; -disp(sprintf("(vii) The rotor induced emf is %.1f V",E_rotor_dash)); +disp(sprintf("(vii) The rotor induced emf is %f V",E_rotor_dash)); //END |