changed solver to `brentq`