使用 Sympy 在 Python 中解决涉及三角函数的非线性方程组问题

问题描述 投票:0回答:0

我正在尝试创建一个程序来求解圆方程的解: enter image description here

这是我使用 Sympy 为其编写的代码。它适用于像 x^2 这样的函数,但我在使用 tan(x) 或 sin(x) 时总是遇到错误

enter image description here

图形解决方案表明解决方案肯定存在

python sympy nonlinear-optimization nonlinear-functions
© www.soinside.com 2019 - 2024. All rights reserved.