Serving the Quantitative Finance Community

 
User avatar
submarine
Topic Author
Posts: 0
Joined: December 20th, 2005, 3:20 pm

Car travel teaser

January 10th, 2006, 3:18 pm

A car runs 56m/h for uphill, 78m/h for straight surface, 87m/h for downhill. It takes 4 hours for the car to travel from A to B and 4 hours 40 minutes from B to A. Now, what's the distance from A to B? didn't find this teaser on the board, have fun guys.
 
User avatar
zarnywhoop
Posts: 0
Joined: December 2nd, 2004, 5:39 pm

Car travel teaser

January 10th, 2006, 5:31 pm

322.839 miles
 
User avatar
aym
Posts: 6
Joined: July 28th, 2005, 5:03 pm

Car travel teaser

January 11th, 2006, 4:42 am

Between 295.273 & 322.839 depending on the length of the flat portion.If s = length of flat portion then it is d(A,B) = 295.273 + 0.126412 s
 
User avatar
mensa0
Posts: 0
Joined: January 20th, 2004, 8:56 am

Car travel teaser

January 11th, 2006, 5:32 am

Can someone explain the solution with equations?Thanks.Mike
 
User avatar
aym
Posts: 6
Joined: July 28th, 2005, 5:03 pm

Car travel teaser

January 11th, 2006, 9:07 am

Here is how I came to it: let u, s & d be the total length of the uphill, straight & downhill porions as we travel from A to B.And let Vu, Vs & Vd be 56, 78 & 87 respectively for the speeds in those situations.Then from A to B and B to A the times are (noting that uphill becomes downhill & vice versa on the way back):u/Vu + s/Vs + d/Vd = time(A,B) = 4u/Vd + s/Vs + d/Vu = time(B,A) = 4+2/3Solving the system of u & d on the left we get solutions in terms of s:u = 812/57629( 6760 - 31s ) = 95.2493 - 0.436794 sd = 812/57629( 14196 - 31s ) = 200.023 - 0.436794 sAnd u + d + s = 295.273 + 0.126412 s with the fact thats is limited by s <= Min( 95.2493/0.436794, 200.023/0.436794 ) = 218.065 as u, d >= 0.
 
User avatar
mensa0
Posts: 0
Joined: January 20th, 2004, 8:56 am

Car travel teaser

January 11th, 2006, 10:17 am

Thanks aym! I found a neat solution by making d = u^2 from A to B. Solution is u = 10.748 miles, s = 193.458, and d = 115.5223 for a total distance of 319.728 miles. A to B is exactly 4 hours, and B to A is exactly 4.66666 hours.Nice problem!Mike
 
User avatar
vsatsang
Posts: 1
Joined: November 9th, 2004, 9:03 pm

Car travel teaser

January 15th, 2006, 10:14 am

Hello Mensa,While your solution meets the constraints as per Aym' ssolution, I was wonder what prompted you to think to set d = u^2. Thanks for any clarification,Vivek
 
User avatar
mensa0
Posts: 0
Joined: January 20th, 2004, 8:56 am

Car travel teaser

January 17th, 2006, 2:53 am

Hello vsatsang - I chose d=u^2 'cause I'm lazy I guess. As long as I have d as a function of u, I have two equations and two unknowns. The squaring gives me a quadratic (easily solved!!).There are a whole lot of other interesting solutions to this, (e.g. d=u^3). Neat problem!Mike
 
User avatar
Zecitiman
Posts: 0
Joined: July 6th, 2005, 8:26 am

Car travel teaser

January 29th, 2006, 12:41 pm

Hi aym,can you explain this?"with the fact thats is limited by s <= Min( 95.2493/0.436794, 200.023/0.436794 )"Thx
 
User avatar
aym
Posts: 6
Joined: July 28th, 2005, 5:03 pm

Car travel teaser

January 29th, 2006, 1:28 pm

QuoteOriginally posted by: ZecitimanHi aym,can you explain this?"with the fact thats is limited by s <= Min( 95.2493/0.436794, 200.023/0.436794 )"ThxHi Zecitiman, that is because u,d,s are all non-negative quantities being distances.From the two equations you get two overlapping constraints on s, the stricter of which prevails.