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.10/Ex10_10.sce | |
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.10/Ex10_10.sce')
-rw-r--r-- | 1445/CH10/EX10.10/Ex10_10.sce | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/1445/CH10/EX10.10/Ex10_10.sce b/1445/CH10/EX10.10/Ex10_10.sce index ce3fc1915..ceb1ab464 100644 --- a/1445/CH10/EX10.10/Ex10_10.sce +++ b/1445/CH10/EX10.10/Ex10_10.sce @@ -1,6 +1,7 @@ //CHAPTER 10- THREE-PHASE INDUCTION MACHINES //Example 10 +clc; disp("CHAPTER 10"); disp("EXAMPLE 10"); @@ -20,7 +21,7 @@ p_g=p-(cu_loss+cr_loss); //rotor input p_m=p_g*(1-s); //output mechanical power p_sh=p_m-me_loss; //shaft power eff=p_sh/p; -disp(sprintf("The motor efficiency is %.2f %%",eff*100)); +disp(sprintf("The motor efficiency is %f %%",eff*100)); //END |