×
×
Correct!
Insert the missing parts to minimize the equation:
from scipy.optimize import minimize
def eqn(x):
return x**2 + x + 2
mymin = @(8)(eqn, 0, method='BFGS')
from scipy.optimize import minimize
def eqn(x):
return x**2 + x + 2
mymin = minimize(eqn, 0, method='BFGS')
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 20 exercises.
Are you sure you want to continue?