Create a quadratic from two values?
When solving an equation in the form
http://www.vbforums.com/
using:
http://mathworld.wolfram.com/images/.../equation2.gif
we get two answers. Agreed?
Now, what I want is a way of creating an equation in the form
http://www.vbforums.com/
from two values of x
eg x=14.468 , x=52.583
Any suggestions?
Re: Create a quadratic from two values?
You have 2 equations in 3 unknowns, so there are potentially infinitely many solutions. If you are willing to choose c arbitrarily, then you can find a solution by straightforward substitution because the problem reduces to 2 equations in 2 unknowns.
a = c/(x1*x2)
b = -c/x2 - a*x2 = -c(1/x2 + 1/x1)
:)
Re: Create a quadratic from two values?
eg x=14.468, x=52.583
(x - 14.468)(x - 52.583) = 0
x2 - 67.051*x + 760.770844 = 0
If you want 'a' to be anything other than 1, simply multiply through by whatever value you want 'a' to be.
Re: Create a quadratic from two values?
:thumb:
That's perfect!
Thanks