📜  python sympy求解方程等于0 - Python代码示例

📅  最后修改于: 2022-03-11 14:47:05.501000             🧑  作者: Mango

代码示例1
from sympy import *

x, y = symbols('x y') 

y=(x**2-2)/3*x

# solve the expression y (by default set equal to 0)
result = solve(y)

print(result)