summaryrefslogtreecommitdiff
path: root/3760/CH6/EX6.6/Ex6_6.sce
blob: f8f0eb3e4e18b89ed9b1ab456d371e3f05caef27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc;
P=6; 
f=50;
N_f=960;
Ns=(120*f)/P;
n1=800; 
n2=400;

s_fl=(Ns-N_f)/Ns;
s_1=(Ns-n1)/Ns;
s_2=(Ns-n2)/Ns;
Ratio_1=s_1/s_fl;
Ratio_2=s_2/s_fl;
mprintf('The Ratio at %d rpm is %f \n',n1,Ratio_1);
mprintf('The Ratio at %d rpm is %f \n',n2,Ratio_2);