summaryrefslogtreecommitdiff
path: root/29/CH3/EX3.2.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /29/CH3/EX3.2.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '29/CH3/EX3.2.5')
-rwxr-xr-x29/CH3/EX3.2.5/exa3_2_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/29/CH3/EX3.2.5/exa3_2_5.sce b/29/CH3/EX3.2.5/exa3_2_5.sce
new file mode 100755
index 000000000..07cfaf8f1
--- /dev/null
+++ b/29/CH3/EX3.2.5/exa3_2_5.sce
@@ -0,0 +1,18 @@
+//Caption:transfer_function
+// example 3.2.5
+//page 37
+// 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 H2 H3;
+//shift the take off point placed before G3 to after block G3
+a=H3/G3;
+b=G3/.H2;
+c=series(G2,b);
+//shift the summing point after block G1 to before block G1
+d=a/G1;
+e=G1/.H1;
+f=series(e,c);
+y=f/(1+f*d);
+y=simple (y);
+disp(y,"C(s)/R(s)=") \ No newline at end of file