summaryrefslogtreecommitdiff
path: root/29/CH3/EX3.2.6/exa3_2_6.sce
blob: 67e3eecafed608a2cebf33c414ad31cfc6aecd4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Caption:transfer_function
// example 3.2.6
//page 38
// we have defined parallel and series function which we are going to use here
//exec parallel.sce;
//exec series.sce;
syms G1 G2 G3 H1;
a=parallel(G1,G3);
b=G2/.H1;
y=series(a,b);
y=simple (y);
disp(y,"C(s)/R(s)=");