from math import log def datation_C14(p): C0=1.3*10**(-12) lamb=1.21*10**(-4) return round(1/lamb*log(C0/p))