summaryrefslogtreecommitdiff
path: root/29/CH3/EX3.2.12/exa3_2_12.sce
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.12/exa3_2_12.sce
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.12/exa3_2_12.sce')
-rwxr-xr-x29/CH3/EX3.2.12/exa3_2_12.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/29/CH3/EX3.2.12/exa3_2_12.sce b/29/CH3/EX3.2.12/exa3_2_12.sce
new file mode 100755
index 000000000..3967e3760
--- /dev/null
+++ b/29/CH3/EX3.2.12/exa3_2_12.sce
@@ -0,0 +1,26 @@
+//Caption:transfer_function
+// example 3.2.12
+//page 47
+// 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;
+//shift the summing point before block G1 towards right of block G1
+//shift the summing point after block G3 towards left of block G3
+a=G2/G1
+b=H3/G3;
+c=G1/.H1
+d=G3/.H2
+e=series(G4,d)
+//shift the summing point after block e towards left of block e
+g=1/e
+f=series(a,g);
+f=simple(f)
+h=parallel(f,1);
+h=simple(h)
+i=e/(1+e*b);
+i=simple(i)
+j=series(c,h);
+y=series(j,i);
+y=simple (y);
+disp(y,"C(s)/R(s)="); \ No newline at end of file