📜  二次方程 - Python 代码示例

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

代码示例3
(-b-sqrt(b**2-4*a*c))/(2*a)
(-b+sqrt(b**2-4*a*c))/(2*a)
If that doesn't work,
((0-b)-sqrt(b**2-4*a*c))/(2*a)
((0-b)+sqrt(b**2-4*a*c))/(2*a)