answersLogoWhite

0


Best Answer

to solve ax2 + bx + c use the quadratic formula:

(-b +/-(b2 - 4ac))/2a.

Programming this should be a doddle.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a program to solve a quadratic equation which has upto power 2 for example xto power 2 plus product of and x subtract 3 equals to 0?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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.


What is the sum and product of roots of a quadratic equation?

the sum is -b/a and the product is c/a


How did you find each product of quadratic equations?

You substitute the value of the variable into the quadratic equation and evaluate the expression.


Why cant the zero product property be used to solve every quadratic equation?

If the discriminant of a quadratic equation is less than zero then it will not have any real roots.


Formula of quadratic equation if roots are given?

A quadratic equation has the form: x^2 - (sum of the roots)x + product of the roots = 0 or, x^2 - (r1 + r2)x + (r1)(r2) = 0


How the quadratic equation is applied in real situation?

Vertices in quadratic equations can be used to determine the highest price to sell a product before losing money again.


Why are there two solutions to quadratic equations?

In theory, a quadratic equation can be separated into two factors. For example, in the equation x2 - 5x + 6 = 0, the left part can be factored as (x-3)(x-2) = 0. For the product to be zero, any of the two factors must be zero, so if either x - 3 = 0, or x - 2 = 0, the product is also zero. This gives you the two solutions.In theory, a quadratic equation can be separated into two factors. For example, in the equation x2 - 5x + 6 = 0, the left part can be factored as (x-3)(x-2) = 0. For the product to be zero, any of the two factors must be zero, so if either x - 3 = 0, or x - 2 = 0, the product is also zero. This gives you the two solutions.In theory, a quadratic equation can be separated into two factors. For example, in the equation x2 - 5x + 6 = 0, the left part can be factored as (x-3)(x-2) = 0. For the product to be zero, any of the two factors must be zero, so if either x - 3 = 0, or x - 2 = 0, the product is also zero. This gives you the two solutions.In theory, a quadratic equation can be separated into two factors. For example, in the equation x2 - 5x + 6 = 0, the left part can be factored as (x-3)(x-2) = 0. For the product to be zero, any of the two factors must be zero, so if either x - 3 = 0, or x - 2 = 0, the product is also zero. This gives you the two solutions.


When polynomial is a quadratic polynomial?

Whenever there are polynomials of the form aX2+bX+c=0 then this type of equation is know as a quadratic equation. to solve these we usually break b into two parts such that there product is equal to a*c and I hope you know how to factor polynomials.


What roots of the quadratic equation are equivalent to xx-x-12 equals 0?

-4,3 are the roots of this equation, so for the values for which the sum of roots is 1 & product is -12


Are there two integers with a product of-12 and a sum of-3?

-9


How do you use a quadratic equation to find two real numbers whose sum is 5 and whose product is -14?

19


What are the two numbers whose product is minus 90.5625 and sum is plus 10?

The numbers are 15.75 and -5.75 When tackling probiems like this form a quadratic equation with the information given and solving the equation will give the solutions.