Carbon dating using differential equation