diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /29/CH3/EX3.2.4 | |
download | Scilab-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.4')
-rwxr-xr-x | 29/CH3/EX3.2.4/exa3_2_4.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/29/CH3/EX3.2.4/exa3_2_4.sce b/29/CH3/EX3.2.4/exa3_2_4.sce new file mode 100755 index 000000000..7713c5521 --- /dev/null +++ b/29/CH3/EX3.2.4/exa3_2_4.sce @@ -0,0 +1,18 @@ +//Caption:transfer_function
+// example 3.2.4
+//page 36
+// 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;
+//shift the take off point placed before G1 to after block G1
+a=G3/G1;
+b=parallel(a,G2);
+//shift the take off point before block b towards right side of same block
+c=1/b;
+d=series(H1,c);
+e=series(G1,b);
+g=parallel(H2,d);
+y=e/(1+e*g);
+y=simple (y);
+disp(y,"C(s)/R(s)=")
\ No newline at end of file |