Calculate the remaining quantity of a radioactive substance after a given time using half-life decay.