Y
Yannick Grams
Hello to everyone!
I have a mathematic problem I need to solve, and it involves finding the
values of three consecutive numbers, x, y and z. I need to be able to find
every instance of these from negative one million (-1,000,000) up to one
million (1,000,000). They must follow the following equations:
x + y + z = 5
x + y - z = 7
(x - y)(x - y)(x - y) + (y - z)(y - z)(y - z) = (x - z)(x - z)(x - z)
I'm completely and utterly stumped. I intend on solving this via Ruby, as
doing it on pen and paper might take a while.
If anyone has any
suggestions, I'd love to hear them.
Thanks!
_________________________________________________________________
Advertisement: Meet Sexy Singles Today @ Lavalife - Click here
http://a.ninemsn.com.au/b.aspx?URL=...754951090&_r=endtext_lavalife_dec_meet&_m=EXT
I have a mathematic problem I need to solve, and it involves finding the
values of three consecutive numbers, x, y and z. I need to be able to find
every instance of these from negative one million (-1,000,000) up to one
million (1,000,000). They must follow the following equations:
x + y + z = 5
x + y - z = 7
(x - y)(x - y)(x - y) + (y - z)(y - z)(y - z) = (x - z)(x - z)(x - z)
I'm completely and utterly stumped. I intend on solving this via Ruby, as
doing it on pen and paper might take a while.
suggestions, I'd love to hear them.
Thanks!
_________________________________________________________________
Advertisement: Meet Sexy Singles Today @ Lavalife - Click here
http://a.ninemsn.com.au/b.aspx?URL=...754951090&_r=endtext_lavalife_dec_meet&_m=EXT