blob: ab460b8ab7aa572bb4cd006dc5003435f09c1c4e (
plain)
1
2
3
4
5
6
7
8
|
//ques-20.14
//Calculating age of a wooden article
clc
No=15.2; N=2;//initial and final counts/min/g in wood
th=5760;//half-life (in years)
T=0.693/th;//decay constant
t=(2.303/T)*log10(No/N);
printf("The age of the wooden article is %.0f years.",t);
|