假设我有一个方程,例如
10 * x ** 2 - 7 * x + 3 == 2 * y + y ** 2
我想求解y,然后绘制从 0 到 1的y对比图。我如何在 Python 中做到这一点?xx
我知道如何在 Mathematica 中执行此操作,但我正在迁移到 Python。在 Mathematica 中只有一行
Plot[y /. Solve[10 x^2 - 7 x + 3 == 2 y + y^2, y], {x, 0, 1}]
Run Code Online (Sandbox Code Playgroud)