Discussion » Mathematical Challenge!

This is a read-only copy. The forum ran on iamcal.com from 2000 until its database was lost in 2016, and this topic was rebuilt from copies saved by the Internet Archive's Wayback Machine. Some replies may be missing.
Posted by Grim..., 12:19, 5th February 2003:
 
As you seemed to enjoy the last maths question so much, here is one for me. This is a bit more 'triangle' orientated (which is what I am good at, so it's what you get =] ).

Assume you have 2 3D map references, points A, B and C, and wanted to travel to points X, Y, and Z.

What is the equation for the shortest distance between the references?
Posted by MonkeyArmada, 12:22, 5th February 2003:
 
say what?
Posted by Foghorn Leghorn, 12:43, 5th February 2003:
 
what
Posted by Victor Menendez, 12:43, 5th February 2003:
 
Don't worry boys, just leave it to cal
Posted by cal, 12:46, 5th February 2003:
 
easy. get the intermediate triangular distance:

i = square_root(((a-x)^2) + ((b-y)^2))

then use it with the third dimension:

d = square_root((i^2) + ((c-z)^2));

so the whole thing:

d = square_root((square_root(((a-x)^2) + ((b-y)^2))^2) + ((c-z)^2));
Posted by November Eclectica, 12:47, 5th February 2003:
 
I was never good at math.
Posted by RUSS, 12:47, 5th February 2003:
 
O righto?!
Posted by jeff, 13:22, 5th February 2003:
 
you're just showing off now..
Posted by MonkeyArmada, 13:47, 5th February 2003:
 
ok, can you draw a diagram?
Posted by cal, 14:09, 5th February 2003:
 
yes
Posted by Grim..., 14:42, 5th February 2003:
 
Close, but not quite...

We can prove it by plugging some numbers into your equation.

For ease, we'll make a=0, b=0, and c=0, and x=-10, y=-20, z=-30.

so:

d = square_root((square_root(((10)^2) + ((20)^2))^2) + ((30)^2))

calculate

d = square_root(square_root((100 + 400)^2) + (900))

sore more

d = square_root(square_root(250000) + (900))

more

d = square_root(square_root(250900))

more

d = square_root(500.899)

finally

d = 22.38

Now, by my reckoning, that makes the distance between the two points less than the distance between c and z, which can't be true...
Posted by Foghorn Leghorn, 14:47, 5th February 2003:
 
My head hurts reading that :(
Posted by RUSS, 14:48, 5th February 2003:
 
ZZZZZZZZZZ
Posted by izb, 15:09, 5th February 2003:
 
sqrt((sqrt(10^2+20^2))^2+30^2) =37.4Is that the same formula? not sure.EDIT: I think there was a bracket in the wrong place?.EDIT#2: Oh. There isn't. Hmm.
Posted by izb, 15:18, 5th February 2003:
 
'Scuse the 'drawn with a mouse' look.
Posted by MonkeyArmada, 15:36, 5th February 2003:
 
izb, did you draw that with a mouse?
Posted by izb, 15:38, 5th February 2003:
 
i did.
Posted by MonkeyArmada, 16:24, 5th February 2003:
 
MS Paint?
Posted by izb, 16:28, 5th February 2003:
 
Paint shop pro. The mathematician's choice.
Posted by arsepuppy, 16:29, 5th February 2003:
 
MS Paint?

Is that a repackaged but fundamentally similar version of paint, with the only difference being a pink bow on the head of the brush??

wokka-wokka-wokka-wokka
Posted by angel_mouse, 16:35, 5th February 2003:
 
yeah, you use pythagoras theorem.
(i wanted to put that to prove that im not pants at maths, but i cant be arsed to solve it as above.)
Posted by cal, 16:41, 5th February 2003:
 
if grim could actually do the working without making any mistakes then you'd see that i am correct:

d = square_root((square_root(((a-x)^2) + ((b-y)^2))^2) + ((c-z)^2));

d = square_root((square_root(((10)^2) + ((20)^2))^2) + ((30)^2));

d = square_root((square_root(((100) + (400))^2) + (900));

d = square_root((square_root(500^2) + 900);

d = square_root(500 + 900);

d = square_root(1400);

d = 37.416573867739413855837487323165
Posted by MonkeyArmada, 16:44, 5th February 2003:
 
what did the constipated mathematician do?

work it out with a pencil!

an oldy and a goody
Posted by Grim..., 17:37, 5th February 2003:
 
Ah! I think I misunderstood your brackets for in step 5 it is the root of 500^2 rather than the root of 500^2 + 900.

Gotcha.

Yeah, that's the same as what I had, but in a different order.

Part two of the maths challenge comes tomorrow!
Posted by jeff, 22:10, 5th February 2003:
 
did anyone take part in the maths challenge at school? it was a multiple choice exam and they used to tell you not to guess the answers because you got marks deducted for wrong answers. the first two years i did it properly but never finished so i never got an award. the third year i guessed every single answer on the paper.. i got a bronze award!! a guy in my class got a gold award and came sixth in the country or something ridiculous...
Posted by chandler, 23:16, 5th February 2003:
 
Yeah I did it. Can't remember if I got a gold but I definatly got a silver one year.

I expect cal invented teh Math's challenge when he was 4 and set all the questions each year until he was 11 blindfold and with he arms tied behind his back.
Posted by reitsma, 01:57, 6th February 2003:
 
yeah, i did it.
my claim to fame for that was getting the school's highest standardised score when i was in year 8 or something.
i always managed better in the science / chemistry / computing competitions.
Posted by cal, 08:11, 6th February 2003:
 
i've never heard of such a thing
Posted by cal, 08:11, 6th February 2003:
 
but i was pretty good at maths at school
Posted by Grim..., 08:54, 6th February 2003:
 
Okay, here comes part two of the challenge!

Using the equation below (or above, we did it differently to how it is done in my Maths Challenge book), and assuming an accelleration rate of 1 meter per second.

If the object had to move from a standstill at point A and come to a standstill at point B, where would it be at any given point in time?
Posted by Grim..., 08:56, 6th February 2003:
 
Now I don't have the answer to this, and I haven't figured it out yet.

I know the equation for distance travelled at any time, but I can't figure out what grid reference the point will be at, and that's what we need to know.
Posted by arsepuppy, 08:57, 6th February 2003:
 
If its a wednesday, it would be queueing up to sign on.
Posted by cal, 09:02, 6th February 2003:
 
is this related to the first question?

is point A a,b,c and B x,y,z?

were the distances before in metres?
Posted by Grim..., 10:32, 6th February 2003:
 
Yeah, point A is a,b,c and point B is x,y,z.

The distances can be in any unit, as you are looking for an equation.
Metres would be simplest, reckon.
Posted by cal, 10:42, 6th February 2003:
 
the distances can't be in just any unit if the acceleration is in metres per second!
Posted by MonkeyArmada, 10:46, 6th February 2003:
 
Grim, you're not developing weapons of mass destruction are you?
Posted by Victor Menendez, 11:10, 6th February 2003:
 
Remember the launch of the PS2 when the word went round that Iraq had bought 20,000 to control Nasty weapons?
Posted by Grim..., 13:36, 6th February 2003:
 
Er, okay, I guess it must be metres.
As long as the accelleration unit and the mesurement unit match, it could be anything from milimetres to light years, I suppose...
Posted by angel_mouse, 14:03, 6th February 2003:
 
i got 3 bronzes and a silver in maths challenge. woo.
Posted by Grim..., 16:37, 6th February 2003:
 
I've got it but it's messy.

Basically, using our old equation to get the distance - let's assume that we are travling from X12, Y44, Z366 to X0, Y0, Z0.

The distance equation coughs up 368.83 (r).

So (ugly version) X12 Y44 Z366 = 368.83

Divide by X (12)

X1 Y3.6 Z30.5 = 30.73 (We'll call this distace D)

It's easy to work out how far we have travled if we know the accelleration. Assuming 1m/s, after five seconds we moved 15 meters.

Divide 15 by D (30.73) = 0.48 (r).

Now we have a distance;

0.48(x, y, z)

or

0.48(1, 3.6, 30.5)

or

1.48, 1.72, 14.64

So, after 5 seconds we have moved that far in each direction.

Adjust our original grid reference by the above

(12, 44, 366) - (1.48, 1.72, 14.64)

And we find our new references:

(X10.52, Y42.28, Z351.36)



Phew. Someone who can be arsed can do the equation, but I think that's right.
Posted by cal, 20:02, 6th February 2003:
 
It's easy to work out how far we have travled if we know the accelleration. Assuming 1m/s, after five seconds we moved 15 meters.

hmm. starting from zero, after 5 seconds we'll be going at 5m/s. so or average speed for 5 seconds was 2.5m/s so we've actually gone 12.5 metres.

i haven't really read the rest of your solution.
Posted by Redmaiden, 22:29, 6th February 2003:
 
fuck knows