summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.18/ch8_ex_18.sce
blob: ba09668425dc77494f0e169d3d6fd97bc8b24016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//CHAPTER 8- DIRECT CURRENT MACHINES
//Example 18

disp("CHAPTER 8");
disp("EXAMPLE 18");

//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; 
I_f=1.1;                     //in Amperes
r_a=0.2;                     //in Ohms

//SOLUTION
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;
disp(sprintf("The resistance required is %f Ω",r_s));

//The answer is different because ratio equals 85/100 and not 75/100

//END