summaryrefslogtreecommitdiff
path: root/1445/CH10/EX10.5/ch10_ex_5.sce
blob: f7a59dae9c919859543c9ca480dbe89e266a4513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//CHAPTER 10- THREE-PHASE INDUCTION MACHINES
//Example 5

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

//VARIABLE INITIALIZATION
P1=12;                           //number of poles of alternator
N_s1=500;                        //synchronous speed of alternator in rpm
P2=8;                            //number of poles of motor
s=0.03;                          //slip of the motor

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

//END