summaryrefslogtreecommitdiff
path: root/1938/CH4/EX4.2/4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1938/CH4/EX4.2/4_2.sce')
-rwxr-xr-x1938/CH4/EX4.2/4_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1938/CH4/EX4.2/4_2.sce b/1938/CH4/EX4.2/4_2.sce
new file mode 100755
index 000000000..70a3e9d17
--- /dev/null
+++ b/1938/CH4/EX4.2/4_2.sce
@@ -0,0 +1,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)