Scipy's built-in root finding function: Solve nonlinear equations with Python