summaryrefslogtreecommitdiff
path: root/257/CH6/EX6.25/example6_25.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.25/example6_25.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.25/example6_25.sce')
-rw-r--r--257/CH6/EX6.25/example6_25.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/257/CH6/EX6.25/example6_25.sce b/257/CH6/EX6.25/example6_25.sce
new file mode 100644
index 000000000..a9ff30b86
--- /dev/null
+++ b/257/CH6/EX6.25/example6_25.sce
@@ -0,0 +1,25 @@
+syms G1 G2 G3 G4 G5 H2 H3;
+
+T1=G1*G3*G2;
+T2=G1*G3*G5;
+T3=G4*G2*G3;
+T4=-G4*G2*G5*G3*H2
+
+L1=-G2*H3;
+L2=-G3*H3;
+L3=-G5*H2*H3*G3;
+L4=-G1*G2*G3;
+L5=-G1*G3*G5;
+L6=-G2*G3*G4;
+L7=G2*G3*G4*G5*H2;
+
+delta=1-(L1+L2+L3+L4+L5+L6+L7)
+del1=1;
+del2=1;
+del3=1
+del4=1;
+
+TF=(T1*del1 + T2*del2 + T3*del3 + T4*del4)/delta ;
+disp(TF,"C/R = ")
+
+