document.write( "Question 1149105: The road from A to B is 10km uphill followed by 20km downhill. A motorcyclist averages 36km/h uphill and 90km/h downhill. Calculate the average speed from
\n" ); document.write( "1. A to B 2. B to A
\n" ); document.write( "

Algebra.Com's Answer #770430 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
The road from A to B is 10km uphill followed by 20km downhill. A motorcyclist averages 36km/h uphill and 90km/h downhill.
\n" ); document.write( "-------
\n" ); document.write( "Assuming the up and down speeds are the same for both directions (which seems contradictory):
\n" ); document.write( "---
\n" ); document.write( "Calculate the average speed from
\n" ); document.write( "1. A to B
\n" ); document.write( "Time uphill = 10/36 hours
\n" ); document.write( "Time downhill = 20/90 hours
\n" ); document.write( "Total time = 1/2 hour
\n" ); document.write( "Total distance = 30 km
\n" ); document.write( "Avg speed = 30/(1/2) = 60 km/hr
\n" ); document.write( "=======================
\n" ); document.write( "2. B to A
\n" ); document.write( "Time uphill = 20/36 hours
\n" ); document.write( "Time downhill = 10/90 hours
\n" ); document.write( "Total time = 2/3 hour
\n" ); document.write( "Total distance = 30 km
\n" ); document.write( "Avg speed = 30/(2/3) = 45 km/hr
\n" ); document.write( "---------------------------------------
\n" ); document.write( "As pointed out by the other tutor, this won't work in the real world, only in a math problem.
\n" ); document.write( "
\n" );