summaryrefslogtreecommitdiff
path: root/2276/CH10/EX10.1/chapter10_ex1.sce
blob: 6588f74272d68455dfc611dc059501d92426d1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
clear

//input
p=4;//number of poles of an alternator
w=50*%pi;//angular velocity in rad/sec
b=0.015;//sinusoidal flux per pole in weber
phi=10*(%pi/180);//pole pitch in radians
kf=1.11;//form factor

//calculations
f=(w*(p/2))/(2*%pi);//frequency in hertz
e=2*kf*b*f;//e.m.f. per conductor in volts
E=2*e*cos(phi/2);//total e.m.f. in volts

//ouput
mprintf('the e.m.f. between the ends of the coil is %3.1f V',E)