summaryrefslogtreecommitdiff
path: root/1092/CH2/EX2.5/Example2_5.sce
blob: fe7ee31327e3b97182f84cedf04b484fd8f7c7cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Electric Machinery and Transformers
// Irving L kosow 
// Prentice Hall of India
// 2nd editiom

// Chapter 2: Dynamo Construction and Windings
// Example 2-5

clear; clc; close; // Clear the work space and console.

// Given data
P = 12; // No. of poles
theta = 360; // No. of mechanical degrees of rotation
alpha_b = 180; // No. of electrical degrees for finding case b in the question

// Calculations
alpha = ( P * theta ) / 2; // No. of electrical degrees in one revolution
n = alpha / 360; // No. of ac cycles
theta_b = ( 2 * alpha_b ) / P; // No. of mechanical degrees of rotation
// for finding case b in the question

// Display the results
disp("Example 2-5 Solution : ")
printf("\n a: alpha = %d degrees", alpha);
printf("\n    n = %d cycles ", n);
printf("\n b: theta = %d mechanical degrees ", theta_b );