summaryrefslogtreecommitdiff
path: root/46/CH12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /46/CH12
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 '46/CH12')
-rwxr-xr-x46/CH12/EX12.1/Example12_1.sce13
-rwxr-xr-x46/CH12/EX12.2/Example12_2.sce8
2 files changed, 21 insertions, 0 deletions
diff --git a/46/CH12/EX12.1/Example12_1.sce b/46/CH12/EX12.1/Example12_1.sce
new file mode 100755
index 000000000..e71b2cc9f
--- /dev/null
+++ b/46/CH12/EX12.1/Example12_1.sce
@@ -0,0 +1,13 @@
+//Example 12.1
+clc
+syms Gc G1 G2 G3 H1 H2 R U1;
+G=Gc*G1*G2*G3*H1*H2;
+g=Gc*G1*G2*G3/(1+G);
+disp(g,'C/R=')
+g1=G2*G3/(1+G);
+disp(g1,'C/U1=')
+g2=G3*H1*H2/(1+G);
+disp(g2,'B/U2=')
+C1=g*R;
+C2=g1*U1;
+disp(C1+C2,'C=')
diff --git a/46/CH12/EX12.2/Example12_2.sce b/46/CH12/EX12.2/Example12_2.sce
new file mode 100755
index 000000000..0b0f8d3ac
--- /dev/null
+++ b/46/CH12/EX12.2/Example12_2.sce
@@ -0,0 +1,8 @@
+//Example 12.2
+clc
+syms Gc1 Gc2 G1 G2 G3 H1 H2;
+Ga=Gc2*G1/.H2
+Gb=G2*G3
+g=Gc1*Ga*Gb/.H1;
+g=simple(g);
+disp(g,'C/R=') \ No newline at end of file