summaryrefslogtreecommitdiff
path: root/257/CH6/EX6.4/example6_4.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /257/CH6/EX6.4/example6_4.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '257/CH6/EX6.4/example6_4.sce')
-rw-r--r--257/CH6/EX6.4/example6_4.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/257/CH6/EX6.4/example6_4.sce b/257/CH6/EX6.4/example6_4.sce
new file mode 100644
index 000000000..79370d2e9
--- /dev/null
+++ b/257/CH6/EX6.4/example6_4.sce
@@ -0,0 +1,23 @@
+syms G1 G2 G3 G4 G5 G6 H1 H2;
+
+T1=G1*G2;
+T2=G3*G4;
+T3=G1*G6*G4;
+T4=G2*G3*G5
+
+L1=-G2*H1;
+L2=-G3*H2;
+L3=G5*G6;
+L4=-G4*H1*G6;
+L5=-G1*G6*H2
+
+delta=1-(L1+L2+L3+L4+L5)+(L1*L2)
+del1=1;
+del2=1;
+del3=1
+del4=1;
+
+TF=(T1*del1 + T2*del2 + T3*del3 + T4*del4)/delta ;
+disp(TF,"C/R = ")
+
+