抛物线的一般形式为,其中a≠0,b和c可以为0。
下面我们绘制的抛物线
from sympy import symbols from sympy.plotting import plot x = symbols('x') y = x*x plot(y)
执行结果: