How to get the roots of the quadratic equation | python exercise #07
Nov 21, 2022
How to get the roots of the quadratic equation | python exercise #07
#Python
Quadratics or quadratic equations can be defined as a polynomial equation of a second degree, which implies that it comprises a minimum of one term that is squared. The general form of the quadratic equation is:
ax² + bx + c = 0
Suppose, ax² + bx + c = 0 is the quadratic equation, then the formula to find the roots of this equation will be:
x = [-b±√(b2-4ac)]/2
The sign of plus/minus indicates there will be two solutions for x. Learn in detail the quadratic formula.
Show More Show Less #Computer Hardware
#Programming
#Software
