diff options
Diffstat (limited to '29/CH3/EX3.2.9')
-rwxr-xr-x | 29/CH3/EX3.2.9/exa3_2_9.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/29/CH3/EX3.2.9/exa3_2_9.sce b/29/CH3/EX3.2.9/exa3_2_9.sce new file mode 100755 index 000000000..94f8d01f5 --- /dev/null +++ b/29/CH3/EX3.2.9/exa3_2_9.sce @@ -0,0 +1,20 @@ +//Caption:transfer_function
+// example 3.2.9
+//page 42
+// we have defined parallel and series function which we are going to use here
+//exec parallel.sce;
+//exec series.sce;
+syms G1 G2 G3 G4 G5 H1 H2 H3;
+//shift the take off point placed before G3 to after block G3
+a=G5/G3;
+b=G1/.H1;
+c=series(b,G2);
+d=G3/.H2;
+e=parallel(G4,a);
+e=simple(e);
+f=series(c,d);
+g=series(f,e);
+g=simple(g);
+y=g/(1+g*H3);
+y=simple(y);
+disp (y,"C(s)/R(s)=");
\ No newline at end of file |