summaryrefslogtreecommitdiff
path: root/3648/CH27/EX27.12/Ex27_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH27/EX27.12/Ex27_12.sce')
-rw-r--r--3648/CH27/EX27.12/Ex27_12.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3648/CH27/EX27.12/Ex27_12.sce b/3648/CH27/EX27.12/Ex27_12.sce
new file mode 100644
index 000000000..dd42f1eda
--- /dev/null
+++ b/3648/CH27/EX27.12/Ex27_12.sce
@@ -0,0 +1,9 @@
+//Example 27_12
+clc();
+clear;
+//To estimate the age of the axe handle
+n_no=0.034
+t1=5730 //Units in Years
+t=-(log(n_no)*t1)/0.693 //Units in Years
+printf("The age of the axe handle is t=%d years",t)
+//In textbook answer is printed wrong as t=28000 years correct answer is t=27958 years