summaryrefslogtreecommitdiff
path: root/1445/CH10/EX10.8/Ex10_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH10/EX10.8/Ex10_8.sce')
-rw-r--r--1445/CH10/EX10.8/Ex10_8.sce3
1 files changed, 2 insertions, 1 deletions
diff --git a/1445/CH10/EX10.8/Ex10_8.sce b/1445/CH10/EX10.8/Ex10_8.sce
index f324e51a5..f0d05ddf7 100644
--- a/1445/CH10/EX10.8/Ex10_8.sce
+++ b/1445/CH10/EX10.8/Ex10_8.sce
@@ -1,6 +1,7 @@
//CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 8
+clc;
disp("CHAPTER 10");
disp("EXAMPLE 8");
@@ -32,6 +33,6 @@ disp(sprintf("(d) The mechanical power developed to load is %d kW",p_shaft));
//solution (e)
eff=p_shaft/p_in;
-disp(sprintf("(e) The efficiency of the motor is %.2f %%",eff*100));
+disp(sprintf("(e) The efficiency of the motor is %f %%",eff*100));
//END