diff options
Diffstat (limited to 'Working_Examples/154/CH14/EX14.6/ch14_6.sce')
-rwxr-xr-x | Working_Examples/154/CH14/EX14.6/ch14_6.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Working_Examples/154/CH14/EX14.6/ch14_6.sce b/Working_Examples/154/CH14/EX14.6/ch14_6.sce new file mode 100755 index 0000000..6cef31e --- /dev/null +++ b/Working_Examples/154/CH14/EX14.6/ch14_6.sce @@ -0,0 +1,23 @@ +clc
+disp("Example 14.6")
+printf("\n")
+
+s=%s;
+//From example 14.4
+
+Y11=(3 + s)/(5*s+6)
+Y12=- s/(6 + 5*s)
+Y21=- s/(6 + 5*s)
+Y22=(2+s)/(6+5*s)
+
+DYY=Y11*Y22-Y12*Y21
+
+Z11=Y22/DYY;
+Z12=-Y12/DYY;
+Z21=-Y21/DYY;
+Z22=Y11/DYY;
+
+disp(Z11,"Z11=")
+disp(Z12,"Z12=")
+disp(Z21,"Z21=")
+disp(Z22,"Z22=")
|