ax^2+bx=-c
x^2+(b/a)x=-c/a
x^2+2*x*(b/2a)+(b/2a)^2=-c/a+(b/2a)^2
[x+(b/2a)]^2=(b^2-4ac)/(2a)^2
所以x+(b/2a)=±√(b^2-4ac)/(2a)
x=-(b/2a)±√(b^2-4ac)/(2a)
x=[-b±√(b^2-4ac)]/(2a)
ax^2+bx=-c
x^2+(b/a)x=-c/a
x^2+2*x*(b/2a)+(b/2a)^2=-c/a+(b/2a)^2
[x+(b/2a)]^2=(b^2-4ac)/(2a)^2
所以x+(b/2a)=±√(b^2-4ac)/(2a)
x=-(b/2a)±√(b^2-4ac)/(2a)
x=[-b±√(b^2-4ac)]/(2a)