document.write( "Question 29961: Elvin drove halfway from ashton to dover at 40 mi/h abd the rest of the way at 60 mi/h. What was his average speed for the whole trip? (Hint: let the distance for the whole trip be, say, 100 mi.) \n" ); document.write( "
Algebra.Com's Answer #16725 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
First, let's find the time it took Elvin to drive each leg of the trip.\r
\n" ); document.write( "\n" ); document.write( "First leg:
\n" ); document.write( "\"t1+=+d1%2Fr1\" d1 = 40 miles and r1 = 40 mph.
\n" ); document.write( "\"t1+=+40%2F40\"
\n" ); document.write( "\"t1+=+1\"hour.\r
\n" ); document.write( "\n" ); document.write( "Second leg:
\n" ); document.write( "\"t2+=+d2%2Fr2\" d2 = 40 miles and r2 = 60 mph.
\n" ); document.write( "\"t2+=+40%2F60\"
\n" ); document.write( "\"t2+=+2%2F3\" hours.\r
\n" ); document.write( "\n" ); document.write( "Now we need to find the \"weighted\" average speed for the entire trip. Let's call that M.\r
\n" ); document.write( "\n" ); document.write( "\"M+=+%28r1%2At1+%2B+r2%2At2%29%2F%28t1%2Bt2%29\"
\n" ); document.write( "\"M+=+%2840%2A1+%2B+60%282%2F3%29%29%2F%285%2F3%29\"
\n" ); document.write( "\"M+=+%2840%2B40%29%2F%285%2F3%29\"
\n" ); document.write( "\"M+=+80%283%2F5%29\"
\n" ); document.write( "\"M+=+48\"mph.
\n" ); document.write( "
\n" );