diff options
Diffstat (limited to '1427/CH20/EX20.5/20_5.sce')
-rw-r--r-- | 1427/CH20/EX20.5/20_5.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/1427/CH20/EX20.5/20_5.sce b/1427/CH20/EX20.5/20_5.sce new file mode 100644 index 000000000..a3708cfa5 --- /dev/null +++ b/1427/CH20/EX20.5/20_5.sce @@ -0,0 +1,9 @@ +//ques-20.5
+//Calculating activity of a sample after 80 years
+clc
+th=20;//half-life (in years)
+Ai=8000;//initial activity (in dis/min)
+t=80;//time given (in years)
+n=t/th;
+Af=Ai*(1/2)^n;
+printf("The final activity of the sample is %d dis/min.",Af);
|