blob: 2de444f82ae2d8314f4294a5c5f670f4c2e486be (
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
|
clc;
n=24; // Number of armature conductor
v=2; // average voltage per conductor
i=5; // current carrying capacity of each conductor
disp('case a');
a=2; // number of parallel path
sc=n/a; // series connected conductor in each path
Ea=sc*v; // output voltage
Ia=i*a; // output current
p=Ea*Ia; // power rating
printf('Generator rating is %f W\n',p);
disp('case b');
a=4; // number of parallel path
sc=n/a; // series connected conductor in each path
Ea=sc*v; // output voltage
Ia=i*a; // output current
p=Ea*Ia; // power rating
printf('Generator rating is %f W\n',p);
disp('case c');
a=6; // number of parallel path
sc=n/a; // series connected conductor in each path
Ea=sc*v; // output voltage
Ia=i*a; // output current
p=Ea*Ia; // power rating
printf('Generator rating is %f W\n',p);
|