diff options
Diffstat (limited to '1076/CH4/EX4.5')
-rwxr-xr-x | 1076/CH4/EX4.5/4_5.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1076/CH4/EX4.5/4_5.sce b/1076/CH4/EX4.5/4_5.sce new file mode 100755 index 000000000..0e27babec --- /dev/null +++ b/1076/CH4/EX4.5/4_5.sce @@ -0,0 +1,12 @@ +clear;
+clc;
+a=.26;
+b=.15;
+c=.35;
+y=[(1+b) b;-(1+a) (1+c)];
+z=[1+a;a];
+v=round(inv(y)*z*1e3)*1e-3;
+t=v(1,1);
+u=v(2,1);
+n=(t+u+1)/(3*u);
+mprintf("the string efficiency is =%.2f",n);
|