answersLogoWhite

0


Best Answer

The easiest way to write a generic algorithm is to simply use the quadratic formula. If it is a computer program, ask the user for the coefficients a, b, and c of the generic equation ax2 + bx + c = 0, then just replace them in the quadratic formula.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Algorithm to find the roots of a quadratic equation?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write an algorithm to find the root of quadratic equation?

Write an algorithm to find the root of quadratic equation


Why do mathmaticians use the quadratic formula?

To find the roots (solutions) of a quadratic equation.


What is the formula to find the product of the roots of a quadratic equation?

If the quadratic is ax2 + bx + c = 0 then the product of the roots is c/a.


When do you use the quadratic formula?

When you need to find the roots of a quadratic equation and factorisation does not work (or you cannot find the factors). The quadratic equation ALWAYS works. And when appropriate, it will give the imaginary roots which, judging by this question, you may not yet be ready for.


How do you find the sum of the roots of the equation x2 plus 5x plus 9 equals 0?

This quadratic equation has no real roots because its discriminant is less than zero.


What are the roots of the polynomial x2 plus 3x plus 5?

You can find the roots with the quadratic equation (a = 1, b = 3, c = -5).


What is the quadratic formula used forHow do you find the average of a set of numbers?

The quadratic formula is used to find the solutions (roots) of a quadratic equation in the form ax² + bx + c = 0, where "a," "b," and "c" are constants.


What does quadratic formulas look like?

ax2 +bx + c To find roots of any quadratic equation. X = - b (+/-) sqrt(b2 - 4ac)/2a


How you find the solution of a quadratic equation by graphing its quadratic equation?

When you graph the quadratic equation, you have three possibilities... 1. The graph touches x-axis once. Then that quadratic equation only has one solution and you find it by finding the x-intercept. 2. The graph touches x-axis twice. Then that quadratic equation has two solutions and you also find it by finding the x-intercept 3. The graph doesn't touch the x-axis at all. Then that quadratic equation has no solutions. If you really want to find the solutions, you'll have to go to imaginary solutions, where the solutions include negative square roots.


What is an application for a quadratic equation in real life?

A quadratic equation could be used to find the optimal ingredients for a mixture. Example: if you are trying to create a super cleanser, you could make a parabola of your ingredients, finding the roots of the equation to find the optimal amount for each ingredient.


What 2 values of x are roots of the polynomial x2 plus 3x-5?

You can find the roots with the quadratic equation (a = 1, b = 3, c = -5).


How do you find the roots of a bi-quadratic equation?

Using the quadratic formula x = [-b (+ or -)root(b^2 - 4ac)]/2a, from y = ax^2 + bx + c