summaryrefslogtreecommitdiff
path: root/29/CH5/EX5.9.7/exa5_9_7.sce
blob: 8fba364de85f37706ee010d9aa79af1607f0b682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Caption:transfer_function_of_generator
//example 5.9.7
//page 105
syms E Vf Kg R L
s=%s;
//generator_field_constant_Kg=delta(e)/delta(If)
Kg=50/2;
L=2;//field_inductance
R=200;//field_resistance
//transfer function is given by : E/Vf=(Kg/R+s*L)
a=Kg/(R+s*L);
disp(a,"E(s)/Vf(s)=");