Half-life calculation