提交 7dff550c 编写于 作者: 盼小辉丶's avatar 盼小辉丶

上传新文件

上级 7febcd35
from scipy import optimize
def func(x):
return [x[1] - x[0]**3 - 2 * x[0]**2 + 1, x[1] + x[0]**2 + 1]
result = optimize.fsolve(func([x[0], x[1]]), [1, 1])
print(result)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册