pub fn secant( f: impl Fn(f64) -> f64, x0: f64, x1: f64, tol: f64, max_iter: usize, ) -> Option<f64>
Secant method — Newton without explicit derivative.