summaryrefslogtreecommitdiff
path: root/1938/CH4/EX4.2/4_2.sce
blob: 70a3e9d172c8ccdd5b98b420445ad3d0c26aeab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc,clear
printf('Example 4.2\n\n')

Slots=120
Pole=8
Phase=3 //number of phases
n=Slots/Pole         //Slots per Pole
m=Slots/Pole/Phase   //Slots per Pole per Phase
beeta=180/n           //Slot angle in degree
K_d=sind(m*beeta/2) /(m*sind(beeta/2)) //Distribution Factor
printf('Distribution Factor:\nK_d=%.3f',K_d)