diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /104/CH3/EX3.4/3_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '104/CH3/EX3.4/3_4.sce')
-rwxr-xr-x | 104/CH3/EX3.4/3_4.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/104/CH3/EX3.4/3_4.sce b/104/CH3/EX3.4/3_4.sce new file mode 100755 index 000000000..eba49d595 --- /dev/null +++ b/104/CH3/EX3.4/3_4.sce @@ -0,0 +1,22 @@ +//masons gain formula applied to SFG in figure 3-8(d)
+//two forward paths
+syms a12 a23 a24 a25 a32 a34 a43 a44 a45
+M1=a12*a23*a34*a45
+M2=a12*a25
+//four loops
+L11=a23*a32
+L21=a34*a43
+L31=a24*a32*a43
+L41=a44
+//one pair of non touching loops
+L12=a23*a32*a44
+delta=1-(L11+L21+L31+L41)+(L12)
+delta1=1
+delta2=1-(L21+L41)
+x=(M1*delta1+M2*delta2)/delta
+disp(x,"y5/y1=")
+//if y2 is output node
+M1=a12
+delta1=1-(L21+L41)
+y=(M1*delta1)/delta
+disp(y,"y2/y1=")
\ No newline at end of file |