- Joined
- Feb 4, 2009
- Messages
- 1,314
I wanted to solve an equatation of the form
x^3+a*x^2+b*x+c = 0
where a, b, c were given
and I had the following idea:
(x+d)*(x+e)*(x+f) = 0
(x^2 + d*x + e*x + d*e)*(x+f) = 0
x^3 + d*x^2 + e*x^2 + d*e*x + f*x^2 + d*f*x + e*f*x + d*e*f = 0
x^3 + (d*x^2 + e*x^2 + f*x^2) + (d*e*x + d*f*x + e*f*x) + d*e*f = 0
x^3 + (d+e+f)*x^2 + (d*e+d*f+e*f)*x + d*e*f = 0
a = d + e + f
b = d*e + d*f + e*f
c = d*e*f
So I got 3 equatations with 3 unknown variables so it should be possible to solve this
I tried to do it and after filling a few pieces of paper with formulars I surrendered
According to http://www.wolframalpha.com/input/?i=a+%3D+d%2Be%2Bf%2C+b+%3D+d*e%2Bd*f%2Be*f%2C+c+%3D+d*e*f
the equatation is rather complicated and I am too lazy to write it down
Can anyone post a simple step-by-step solution to this?
I require it for some complicated projectile movement
x^3+a*x^2+b*x+c = 0
where a, b, c were given
and I had the following idea:
(x+d)*(x+e)*(x+f) = 0
(x^2 + d*x + e*x + d*e)*(x+f) = 0
x^3 + d*x^2 + e*x^2 + d*e*x + f*x^2 + d*f*x + e*f*x + d*e*f = 0
x^3 + (d*x^2 + e*x^2 + f*x^2) + (d*e*x + d*f*x + e*f*x) + d*e*f = 0
x^3 + (d+e+f)*x^2 + (d*e+d*f+e*f)*x + d*e*f = 0
a = d + e + f
b = d*e + d*f + e*f
c = d*e*f
So I got 3 equatations with 3 unknown variables so it should be possible to solve this
I tried to do it and after filling a few pieces of paper with formulars I surrendered
According to http://www.wolframalpha.com/input/?i=a+%3D+d%2Be%2Bf%2C+b+%3D+d*e%2Bd*f%2Be*f%2C+c+%3D+d*e*f
the equatation is rather complicated and I am too lazy to write it down
Can anyone post a simple step-by-step solution to this?
I require it for some complicated projectile movement
Last edited: