summaryrefslogtreecommitdiff
path: root/29/CH3/EX3.2.11
diff options
context:
space:
mode:
Diffstat (limited to '29/CH3/EX3.2.11')
-rwxr-xr-x29/CH3/EX3.2.11/exa3_2_11.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/29/CH3/EX3.2.11/exa3_2_11.sce b/29/CH3/EX3.2.11/exa3_2_11.sce
new file mode 100755
index 000000000..da2e42991
--- /dev/null
+++ b/29/CH3/EX3.2.11/exa3_2_11.sce
@@ -0,0 +1,22 @@
+//Caption:transfer_function
+// example 3.2.11
+//page 45
+// 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 H1 H2 H3;
+a=G4/.H1;
+//shift the summing point after block G3 towards left of block G3
+b=G2/G3;
+c=series(a,G3);
+d=c/(1+c*H2);
+d=simple(d)
+//shift the summing point before block G1 towards right of block G1
+e=G1*H3;
+f=d/(1+d*e);
+f=simple(f)
+g=parallel(G1,b);
+g=simple(g);
+y=series(g,f)
+y=simple (y);
+disp(y,"C(s)/R(s)="); \ No newline at end of file