summaryrefslogtreecommitdiff
path: root/608/CH22/EX22.02/22_02.sce
blob: 9a8679c44789047db665008888d53c832987157d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Problem 22.02: A stator winding supplied from a three-phase 60 Hz system is required to produce a magnetic flux rotating at 900 rev/min. Determine the number of poles.

//initializing the variables:
f = 60; // in Hz
ns = 900/60; // in rev/sec

//calculation:
//ns is the synchronous speed, f is the frequency in hertz of the supply to the stator and p is the number of pairs of poles.
p = f/ns
np = p*2

printf("\n\n Result \n\n")
printf("\nnumber of poles is %.0f", np)