summaryrefslogtreecommitdiff
path: root/1445/CH10/EX10.11/ch10_ex_11.sce
blob: 2d2164770fbfa48766b3a4ce0ca83b43c9dd150e (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
//CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 11

disp("CHAPTER 10");
disp("EXAMPLE 11");

//VARIABLE INITIALIZATION
P1=4;                         //number of poles
s=5/100;                      //slip
f=60;                         //in Hertz

//SOLUTION

//solution (a)
N_s=(120*f)/P1;
N_r=N_s*(1-s);
N_r=round(N_r);               //to round off the value
disp(sprintf("(a) The speed of the motor is %d rpm",N_r));

//solution (b)
P2=6;
N_s=(120*f)/P2;
disp(sprintf("(b) The speed of the generator is %d rpm",N_s));

//END