summaryrefslogtreecommitdiff
path: root/2465/CH5/EX5.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2465/CH5/EX5.6
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2465/CH5/EX5.6')
-rw-r--r--2465/CH5/EX5.6/Ex5_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2465/CH5/EX5.6/Ex5_6.sce b/2465/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..f607293bc
--- /dev/null
+++ b/2465/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,17 @@
+//Chapter-5,Example 6,Page 123
+clc();
+close();
+
+t_half=1600 //half life period
+
+k=0.693/t_half //rate constant
+
+a=100
+
+x= 80
+
+t=(2.303/k)*log10(a/(a-x))
+
+printf('\n the time taken t = %.2f years', t)
+
+//mistake in textbook