summaryrefslogtreecommitdiff
path: root/29/CH3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /29/CH3
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')
-rwxr-xr-x29/CH3/EX3.2.1/exa3_2_1.sce18
-rwxr-xr-x29/CH3/EX3.2.10/exa3_2_10.sce21
-rwxr-xr-x29/CH3/EX3.2.11/exa3_2_11.sce22
-rwxr-xr-x29/CH3/EX3.2.12/exa3_2_12.sce26
-rwxr-xr-x29/CH3/EX3.2.13/exa3_2_13.sce21
-rwxr-xr-x29/CH3/EX3.2.14/exa3_2_14.sce24
-rwxr-xr-x29/CH3/EX3.2.15/exa3_2_15.sce29
-rwxr-xr-x29/CH3/EX3.2.2/exa3_2_2.sce14
-rwxr-xr-x29/CH3/EX3.2.3/exa3_2_3.sce18
-rwxr-xr-x29/CH3/EX3.2.4/exa3_2_4.sce18
-rwxr-xr-x29/CH3/EX3.2.5/exa3_2_5.sce18
-rwxr-xr-x29/CH3/EX3.2.6/exa3_2_6.sce12
-rwxr-xr-x29/CH3/EX3.2.7/exa3_2_7.sce21
-rwxr-xr-x29/CH3/EX3.2.8/exa3_2_8.sce18
-rwxr-xr-x29/CH3/EX3.2.9/exa3_2_9.sce20
15 files changed, 300 insertions, 0 deletions
diff --git a/29/CH3/EX3.2.1/exa3_2_1.sce b/29/CH3/EX3.2.1/exa3_2_1.sce
new file mode 100755
index 000000000..baeed04b3
--- /dev/null
+++ b/29/CH3/EX3.2.1/exa3_2_1.sce
@@ -0,0 +1,18 @@
+//Caption:transfer_function
+// example 3.2.1
+//page 32
+// 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;
+// shifting take off point after block G2 to a position before block G2
+a= G2*H1;
+b=parallel(G2,G3);
+//shifting take off point before (G2+G3) to After (G2+G3)
+c=a/b;
+m=1;
+d=b/(1+m*b);
+e=series(G1,d);
+y=(e/(1+c*e));
+y=simple (y);
+disp (y,"C(s)/R(s)="); \ No newline at end of file
diff --git a/29/CH3/EX3.2.10/exa3_2_10.sce b/29/CH3/EX3.2.10/exa3_2_10.sce
new file mode 100755
index 000000000..77880b5ed
--- /dev/null
+++ b/29/CH3/EX3.2.10/exa3_2_10.sce
@@ -0,0 +1,21 @@
+//Caption:transfer_function
+// example 3.2.10
+//page 43
+// 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 H3;
+a=parallel(G3,G4);
+//shift off the take off point before block 'a' to after block 'a'
+b=1/a;
+d=1;
+c=G2/(1+G2*d);
+e=parallel(H1,b);
+f=series(c,a);
+g=series(H2,e);
+h=f/(1+f*g);
+h=simple(h);
+i=series(h,G1);
+y=i/(1+i*H3);
+y=simple(y);
+disp(y,"C(s)/R(s)=") \ No newline at end of file
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
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
diff --git a/29/CH3/EX3.2.13/exa3_2_13.sce b/29/CH3/EX3.2.13/exa3_2_13.sce
new file mode 100755
index 000000000..44d3dabb3
--- /dev/null
+++ b/29/CH3/EX3.2.13/exa3_2_13.sce
@@ -0,0 +1,21 @@
+//Caption:transfer_function
+// example 3.2.13
+//page 49
+// 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;
+//shift the summing point after block H2 towards right of block H2
+//shift the summing point after block H1 towards right of block H2
+a=H1*H2
+b=parallel(G1,G2)
+c=G4/.a
+d=series(G3,c)
+e=d/(1+d*H2);
+e=simple(e)
+f=series(b,e)
+y=f/(1+f*a);
+y=simple (y);
+disp(y,"C(s)/R(s)=");
+
+
diff --git a/29/CH3/EX3.2.14/exa3_2_14.sce b/29/CH3/EX3.2.14/exa3_2_14.sce
new file mode 100755
index 000000000..7844055dd
--- /dev/null
+++ b/29/CH3/EX3.2.14/exa3_2_14.sce
@@ -0,0 +1,24 @@
+//Caption:transfer_function
+// example 3.2.14
+//page 50
+// 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 R D;
+a=parallel(G1,G2)
+b=G3/.H2
+c=series(a,b)
+//inorder to determine C(s)/R(s) consider D=0
+d=series(c,G4);
+y=d/(1+d*H1);
+y=simple (y);
+disp(y,"C(s)/R(s)=")
+// now consider R=0 for calculating C(s)/D(s)
+e=series(c,H1)
+z=G4/(1+G4*e);
+z=simple(z);
+disp(z,"C(s)/D(s)=");
+x=(y*R)+(z*D);
+x=simple(x);
+printf("total output");
+disp(x,"C(s)") \ No newline at end of file
diff --git a/29/CH3/EX3.2.15/exa3_2_15.sce b/29/CH3/EX3.2.15/exa3_2_15.sce
new file mode 100755
index 000000000..24aab86a0
--- /dev/null
+++ b/29/CH3/EX3.2.15/exa3_2_15.sce
@@ -0,0 +1,29 @@
+//Caption:transfer_function
+// example 3.2.15
+//page 52
+// we have defined parallel and series function which we are going to use here
+//exec parallel.sce;
+//exec series.sce;
+syms G1 G2 H1 H2 H3 D1 D2 R;
+a=G2/.H2
+b=a/(1+a*H3);
+b=simple(b)
+//inorder to determine C(s)/R(s) consider D1=0,D2=0
+c=series(b,G1)
+y=c/(1+c*H1);
+y=simple(y)
+disp(y,"C(s)/R(s)");
+// now consider R=0,D2=0 for calculating C(s)/D1(s)
+d=series(G1,H1);
+z=b/(1+b*d);
+z=simple(z)
+disp(z,"D1(s)/R(s)");
+// now consider R=0,D1=0 for calculating C(s)/D2(s)
+e=G1*(-H1);
+f=series(b,e);
+x=f/(1+f);
+x=simple(x);
+disp(x,"D2(s)/R(s)");
+out=(y*R)+(z*D1)+(x*D2);
+out=simple(out);
+disp(out,"C(s)"); \ No newline at end of file
diff --git a/29/CH3/EX3.2.2/exa3_2_2.sce b/29/CH3/EX3.2.2/exa3_2_2.sce
new file mode 100755
index 000000000..3b816f6db
--- /dev/null
+++ b/29/CH3/EX3.2.2/exa3_2_2.sce
@@ -0,0 +1,14 @@
+//Caption:transfer_function
+// example 3.2.2
+//page 34
+// 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;
+// shifting take off point before block G1 to a position after block G1
+a=G1*H1;
+b=parallel(G1,G2);
+c=G3/.a
+y=series(b,c);
+y=simple (y);
+disp(y,"C(s)/R(s)=") \ No newline at end of file
diff --git a/29/CH3/EX3.2.3/exa3_2_3.sce b/29/CH3/EX3.2.3/exa3_2_3.sce
new file mode 100755
index 000000000..2f5e487bb
--- /dev/null
+++ b/29/CH3/EX3.2.3/exa3_2_3.sce
@@ -0,0 +1,18 @@
+//Caption:transfer_function
+// example 3.2.3
+//page 35
+// 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 G6 H1 H2;
+//shift the takeof point placed before G2 towards right side of block G2
+a= G5/G2;
+b=parallel(G3,G4);
+c=series(b,G6);
+d=parallel(a,c);
+e=series(G1,G2);
+l=series(H1,d);
+g=e/.H2
+y=g/(1+g*l)
+y=simple (y);
+disp(y,"C(s)/R(s)=") \ No newline at end of file
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
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
diff --git a/29/CH3/EX3.2.6/exa3_2_6.sce b/29/CH3/EX3.2.6/exa3_2_6.sce
new file mode 100755
index 000000000..67e3eecaf
--- /dev/null
+++ b/29/CH3/EX3.2.6/exa3_2_6.sce
@@ -0,0 +1,12 @@
+//Caption:transfer_function
+// example 3.2.6
+//page 38
+// 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;
+a=parallel(G1,G3);
+b=G2/.H1;
+y=series(a,b);
+y=simple (y);
+disp(y,"C(s)/R(s)="); \ No newline at end of file
diff --git a/29/CH3/EX3.2.7/exa3_2_7.sce b/29/CH3/EX3.2.7/exa3_2_7.sce
new file mode 100755
index 000000000..3a0a45c95
--- /dev/null
+++ b/29/CH3/EX3.2.7/exa3_2_7.sce
@@ -0,0 +1,21 @@
+//Caption:transfer_function
+// example 3.2.7
+//page 39
+// 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 G2 to after block G2
+a=G2*H1;
+//shift the take off point placed before G2 to after block G1 and shift the summing point before block G2 to before block G2
+//interchange consecutive summing point and shift the take off point placed before H2 to after block H2
+b=G2*H2;
+c=b*H1;
+d=parallel(G3,G2);
+e=1/.b
+f=series(d,e);
+g=G1/.a
+h=series(g,f);
+y=h/(1-h*c);
+y=simple (y);
+disp(y,"C(s)/R(s)=") \ No newline at end of file
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
diff --git a/29/CH3/EX3.2.9/exa3_2_9.sce b/29/CH3/EX3.2.9/exa3_2_9.sce
new file mode 100755
index 000000000..94f8d01f5
--- /dev/null
+++ b/29/CH3/EX3.2.9/exa3_2_9.sce
@@ -0,0 +1,20 @@
+//Caption:transfer_function
+// example 3.2.9
+//page 42
+// 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 H3;
+//shift the take off point placed before G3 to after block G3
+a=G5/G3;
+b=G1/.H1;
+c=series(b,G2);
+d=G3/.H2;
+e=parallel(G4,a);
+e=simple(e);
+f=series(c,d);
+g=series(f,e);
+g=simple(g);
+y=g/(1+g*H3);
+y=simple(y);
+disp (y,"C(s)/R(s)="); \ No newline at end of file