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