I\'m trying to solve an equation in python using SymPy. I have a generated equation (something like function = y(8.0-(y**3.0)) which I use with SymPy to create a ne
function = y(8.0-(y**3.0))
Yours is a non linear equation ... So you can use optimize.fsolve for it. For further details look for the function in this tutorial scipy
optimize.fsolve