pub fn remaining_fraction_from_decay_constant( decay_constant: f64, time: f64, ) -> Option<f64>
Computes the remaining fraction from a decay constant and elapsed time.
Formula: N / N0 = exp(-lambda * t).
N / N0 = exp(-lambda * t)