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/CH8/EX8.18/Ex8_18.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/CH8/EX8.18/Ex8_18.sce')
-rw-r--r-- | 1445/CH8/EX8.18/Ex8_18.sce | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/1445/CH8/EX8.18/Ex8_18.sce b/1445/CH8/EX8.18/Ex8_18.sce index 10b37b947..fb5a399e9 100644 --- a/1445/CH8/EX8.18/Ex8_18.sce +++ b/1445/CH8/EX8.18/Ex8_18.sce @@ -1,27 +1,27 @@ //CHAPTER 8- DIRECT CURRENT MACHINES //Example 18 +clc; disp("CHAPTER 8"); disp("EXAMPLE 18"); -//460 V 10 HP motor //VARIABLE INITIALIZATION v_t=460; //in Volts p_o=10*736; //in Watts (1 metric H.P=735.5 W) ratio=85/100; //as given in the question -eff=84/100; // efficiency +eff=84/100; I_f=1.1; //in Amperes r_a=0.2; //in Ohms //SOLUTION -p_i=p_o/eff; //power input -I_l=p_i/v_t; //line current -I_a=I_l-I_f; // armature current -E1=v_t-(I_a*r_a); //back emf +p_i=p_o/eff; +I_l=p_i/v_t; +I_a=I_l-I_f; +E1=v_t-(I_a*r_a); E2=E1*ratio; //E2:E1=N2:N1=ratio v=v_t-E2; //voltage drop across r_a and r_s (r_s is the series resistance to be inserted) -r_s=(v/I_a)-r_a; // series resistance -disp(sprintf("The resistance required is %.2f Ω",r_s)); +r_s=(v/I_a)-r_a; +disp(sprintf("The resistance required is %f Ω",r_s)); //The answer is different because ratio equals 85/100 and not 75/100 |