pub fn effective_length(alpha: f64, length: f64) -> f64
The effective length (1 - e^{-αL})/α of an attenuation α over length (L itself when αL is negligible).
(1 - e^{-αL})/α
α
length
L
αL