Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

## Post a reply

Write your message and submit
|
Options

## Topic review (newest first)

John E. Franklin
2005-12-31 02:54:50

#### snyy wrote:

sorry, don't really understand how you do this.
can show me how you get this formula (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + (-3x0+3x1)t + x0 ??
from x0(1-3t+3t^2-t^3)  + 3x1 (t-2t^2+t^3) + 3x2(t^2-t^3) + x3t^3

Method used is similar to this example:
(A+B)C + (A+B)D
See how I am skipping a step and not writing it down.
This is the equivalent.
(C+D)A + (C+D)B
The step I didn't ever write down is because you just organize by
jumping around and choosing the A's first, and the B's second.
But it would be:
AC + BC   +  AD + BD
Then get the A's on the left, and B's on the right.

MathsIsFun
2005-12-30 21:40:06

Ye Gods!

You did better than this guy:

krassi_holmz
2005-12-30 19:19:28

OK,Here is the answer direct from the original equation:

snyy
2005-12-30 13:52:03

sorry, don't really understand how you do this.
can show me how you get this formula (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + (-3x0+3x1)t + x0 ??
from x0(1-3t+3t^2-t^3)  + 3x1 (t-2t^2+t^3) + 3x2(t^2-t^3) + x3t^3

krassi_holmz
2005-12-30 13:11:26

I told you it will be ugly.

krassi_holmz
2005-12-30 13:09:36

ax^3+bx^2+cx+d=0
Here's the real solution:

John E. Franklin
2005-12-30 12:59:16

#### Code:

``` I found a method to possibly get close to an answer.

a =  (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + (-3x0+3x1)t + x0

Get t on left side, and put a on right, leave t^3 and t^2 on right side.

-(-3x0+3x1)t = (-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + x0  - a

Divide by -(-3x0+3x1)

t =  (-1/(-3x0+3x1)) ((-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + x0  - a )

Make a guess at t and plug it into the t^3 and t^2 and solve right side of equation.

Take answer and put it back in again.

Repeat until you appear to be getting closer and closer to last result.

I don't know if this will work, but I just read this on a web page about solving a cubic.```
John E. Franklin
2005-12-30 12:43:00

#### Code:

```a = x0 * (1-t)³ + x1 * 3 * t * (1-t)² + x2 * 3 * t² * (1-t) +x3 * t³

1-2t+t^2(1-t)              1-2t+t^2        3x2(t^2-t^3)       x3t^3
3x1 (t-2t^2+t^3)         |                |
1-2t+t^2                   |                  |                |
-t +2t^2 -t^3             |                  |                |
--------------              v                  v                v
x0(1-3t+3t^2-t^3)

(-x0+3x1-3x2+x3)t^3 + (3x0-6x1+3x2)t^2 + (-3x0+3x1)t + x0

I don't know what to do next to this cubic equation.```
krassi_holmz
2005-12-30 12:26:50

It would be something very VERY ugly.
And probably it's complexity will make it useless.

snyy
2005-12-30 12:10:31

a = x0 * (1-t)³ + x1 * 3 * t * (1-t)² + x2 * 3 * t² * (1-t) +x3 * t³

if x0 = 138, x1=116, x3= 171, x4=198 while t=0.01
then a =137.934235

but for now, i want to find t, i have the all the value of x0,x1,x2,x3 and a. so how to reverse the formula so that i can find t??
thanks..