Quadratic Equation

Lets suppose we have a quadradic equation and we want to find the roots.
One way to find the roots is to use the Goal Seek.

microsoft excel docs

Create a simple Table

You must first create a simple worksheet that contains the following information.
This table can be used to solve any quadratic equation using Goal Seek
Create the following table and the following named ranges:
"C3" = Avalue
"C4" = Bvalue
"C5" = Cvalue
"C7" = Xvalue

microsoft excel docs

Using Goal Seek

Goal Seeks works by finding the closest result to the starting value (or initial guess).
The problem with using Goal seek is that you have to provide an initial guess.
In this example we are using the initial guess of 3.
Select cell "C8" and select (Tools > Goal Seek).


microsoft excel docs

if a solution can be found to the formula then the status dialog box is displayed showing the result.

microsoft excel docs

Press OK to accept the solution and to change the cell "C7" with the solution found
Pressing Cancel will return cell "C7" to its original guess of 3.


microsoft excel docs

This has only found one of the roots though so you will need to repeat the process with another guess.
For our second guess we will use the value -3.

microsoft excel docs

Select cell "C7" and select (Tools > Goal Seek)


This time the solution -2.717 has been found which must be other root.

microsoft excel docs

Using the Quadratic Formula

It is also possible to find the solutions to a quadratic equation using the following quadratic formula:

microsoft excel docs

microsoft excel docs

Checking the Results

We can easily check these results by plotting the graph of this function.
The two roots are roughly about -2.7 and 1.7 which correspond with the above results..

microsoft excel docs

© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext