START
INPUT a,b,c
d=B*B-4ac
x1=-b+d/2a
x2=-b-d/2a
print x1,x2
stop
Chat with our AI personalities
That depends on the equation.
b is the negative sum of the roots of the equation
It can tell you three things about the quadratic equation:- 1. That the equation has 2 equal roots when the discriminant is equal to zero. 2. That the equation has 2 distinctive roots when the discriminant is greater than zero. £. That the equation has no real roots when the discriminant is less than zero.
It will then have 2 different roots If the discriminant is zero than it will have have 2 equal roots
It will have two equal roots.