Computer Science, asked by pramodpathak129, 6 months ago


b) Write a program to display roots of a quadratic equation,
axº+bx+c=0

Answers

Answered by Legend12R
1

Answer:

The standard form of a quadratic equation is:

ax2 + bx + c = 0, where

a, b and c are real numbers and

a != 0

The term b2-4ac is known as the discriminant of a quadratic equation. It tells the nature of the roots.

If the discriminant is greater than 0, the roots are real and different.

If the discriminant is equal to 0, the roots are real and equal.

If the discriminant is less than 0, the roots are complex and different.

Explanation:

Hope you find this helpful.......

Similar questions