From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1427/CH20/EX20.5/20_5.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 1427/CH20/EX20.5/20_5.sce (limited to '1427/CH20/EX20.5') 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); -- cgit