From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 1445/CH10/EX10.10/Ex10_10.sce | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '1445/CH10/EX10.10/Ex10_10.sce') 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 -- cgit