12: Artificial Radioactivity

Example number 12.1, Page number 247

In [5]:
#import modules
import math
from __future__ import division

#Variable declaration
r=0.5;      #ratio of mass of Pb206 and mass of U238
t=4.5*10**9;     #half life(years)

#Calculation
T=(math.log(1+r))*(t/0.693);        #age(years)
T=T/10**9;

#Result
print "age of rock is",round(T,2),"*10**9 years"
age of rock is 2.63 *10**9 years