summaryrefslogtreecommitdiff
path: root/1427/CH20/EX20.7/20_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH20/EX20.7/20_7.sce')
-rw-r--r--1427/CH20/EX20.7/20_7.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH20/EX20.7/20_7.sce b/1427/CH20/EX20.7/20_7.sce
new file mode 100644
index 000000000..0dca62bd4
--- /dev/null
+++ b/1427/CH20/EX20.7/20_7.sce
@@ -0,0 +1,8 @@
+//ques-20.7
+//Calculating decay constant and time for required decomposition
+clc
+th=5.25;//half-life (in years)
+No=1; N=0.1;//initial and final amount of isotope (in g)
+T=0.693/th;//decay constant
+t=(2.303/T)*log10(No/N);
+printf("The decay constant is %.3f /y and time required is %.2f y.",T,t);