summaryrefslogtreecommitdiff
path: root/1652/CH19/EX19.6/19_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1652/CH19/EX19.6/19_6.sce')
-rwxr-xr-x1652/CH19/EX19.6/19_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1652/CH19/EX19.6/19_6.sce b/1652/CH19/EX19.6/19_6.sce
new file mode 100755
index 000000000..0ed4f4b00
--- /dev/null
+++ b/1652/CH19/EX19.6/19_6.sce
@@ -0,0 +1,10 @@
+clc
+//Initialization of variables
+D2=0.249
+D1=0.172
+a2=0.00752
+a1=0.00527
+//calculations
+m=(log(D2) -log(D1))/(log(a2) - log(a1))
+//results
+printf("m = %.2f ",m)