summaryrefslogtreecommitdiff
path: root/551/CH13/EX13.7/7.sce
diff options
context:
space:
mode:
Diffstat (limited to '551/CH13/EX13.7/7.sce')
-rwxr-xr-x551/CH13/EX13.7/7.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/551/CH13/EX13.7/7.sce b/551/CH13/EX13.7/7.sce
new file mode 100755
index 000000000..9db6085ef
--- /dev/null
+++ b/551/CH13/EX13.7/7.sce
@@ -0,0 +1,8 @@
+clc
+
+n=0.6;
+y=1.5;
+
+r=(1/(1-n))^(1/(y-1));
+disp("Compression ratio =")
+disp(r) \ No newline at end of file