summaryrefslogtreecommitdiff
path: root/3760/CH6/EX6.1/Ex6_1.sce
blob: d8590e0255428f5cf6d6e9c76058fa2fdbfb40db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;
// after changing dc supply terminals from phase a to phase b 
disp('case a');
P=2; // number of poles
te=(2/P)*120; 
printf('Number of mechanical degrees through which rotor moves is %d degrees\n',te);
disp('case b');
P=4; // number of poles
te=(2/P)*120; 
printf('Number of mechanical degrees through which rotor moves is %d degrees\n',te);
disp('case c');
P=6; // number of poles
te=(2/P)*120; 
printf('Number of mechanical degrees through which rotor moves is %d degrees\n',te);