cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

1-Newbie

## Getting coefficients of a quadratic equation based on three points

Greetings, can someone provide a hint?

1 ACCEPTED SOLUTION

Accepted Solutions
23-Emerald II
(To:ptc-4652517)

Provide some guess values for a, b and c.

Stuart

8 REPLIES 8
23-Emerald II
(To:ptc-4652517)

Provide some guess values for a, b and c.

Stuart

1-Newbie
(To:StuartBruff)

Thanks Stuart, that looks like it worked.

But then the question follows: why does MathCad expect you to guess values for variables that we trying to solve for? Is that just for the sake of declaration? If that is the case, then it seems awkward, especially, since these values are arbitrary.

23-Emerald II
(To:ptc-4652517)
 David Aranovsky wrote:Thanks Stuart, that looks like it worked.

Good. I checked it in Prime 1 after I posted and it worked as well.

 But then the question follows: why does MathCad expect you to guess values for variables that we trying to solve for? Is that just for the sake of declaration? If that is the case, then it seems awkward, especially, since these values are arbitrary.

As Fred says, the numerical solvers generally require a starting point (guess values) - the solvers are fairly general and a number of problems have solutions that are dependent on the initial values.

Local minima and maxima are a good example - starting on side of the 'hill' or the other may take you to completely different minima. I posted a worksheet on the Hooke-Jeeves search algorithm here: http://communities.ptc.com/message/185455#185455 . It contains an example near the bottom of what happens when you specify different initial values.

Stuart

23-Emerald I
(To:ptc-4652517)

Generally Mathcad wants a starting guess at the answer so it can launch its' numeric solver. You put x and y in for guess values, try assigning guesses for a, b, and c.

Attached is your problem solved in 14/15, I don't know if it will convert to Prime.

Thanks Fred!

16-Pearl
(To:ptc-4652517)

This is actually a set of linear equations in the unknowns, so here are a couple of ways of solving them without the need for initial guesses:

Alan

1-Newbie
(To:AlanStevens)

Thanks Alan!

24-Ruby III
(To:AlanStevens)
Announcements