document.write( "Question 993681: Two vehicles leave the same corner at the same time and travel at a right angle to each other. One vehicle travels 4 kilometers an hour faster than the other. If after one hour the vehicles are 20 kilometers apart, find the rate of each vehicle. \r
\n" ); document.write( "\n" ); document.write( "How would I set up this problem?
\n" ); document.write( "

Algebra.Com's Answer #612898 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+s+\" = the speed of the slower vehicle in km/hr
\n" ); document.write( "\"+s+%2B+4+\" km/hr = the speed of the faster vehicle in km/hr
\n" ); document.write( "\"+t+=+1+\" hr ( given )
\n" ); document.write( "-----------------------
\n" ); document.write( "Now find the sides of the right triangle in terms of \"+s+\"
\n" ); document.write( "Shorter side:
\n" ); document.write( "\"+d%5B1%5D+=+s%2At+\"
\n" ); document.write( "\"+d%5B1%5D+=+s%2A1+\" km
\n" ); document.write( "Longer side:
\n" ); document.write( "\"+d%5B2%5D+=+%28+s%2B4+%29%2At+\"
\n" ); document.write( "\"+d%5B2%5D+=+%28+s%2B4+%29%2A1+\" km
\n" ); document.write( "------------------
\n" ); document.write( "The hypotenuse of the right triangle is given as:
\n" ); document.write( "\"+d+=+20+\" km
\n" ); document.write( "Use Pythagoerean theorem:
\n" ); document.write( "\"+d%5E2+=+d%5B1%5D%5E2+%2B+d%5B2%5D%5E2+\"
\n" ); document.write( "\"+20%5E2+=+s%5E2+%2B+%28+s%2B4+%29%5E2+\"
\n" ); document.write( "\"+400+=+s%5E2+%2B+s%5E2+%2B+8s+%2B+16+\"
\n" ); document.write( "\"+2s%5E2+%2B+8s+-384+=+0+\"
\n" ); document.write( "\"+s%5E2+%2B+4s+=+192+\"
\n" ); document.write( "complete the square:
\n" ); document.write( "\"+s%5E2+%2B+4s+%2B+%284%2F2%29%5E2+=+192+%2B+%284%2F2%29%5E2+\"
\n" ); document.write( "\"+s%5E2+%2B+4s+%2B+4+=+192+%2B+4+\"
\n" ); document.write( "\"+%28+s%2B+2+%29%5E2+=+14%5E2+\"
\n" ); document.write( "\"+s+%2B+2+=+14+\"
\n" ); document.write( "\"+s+=+12+\"
\n" ); document.write( "ans
\n" ); document.write( "\"+s%2B+4+=+16+\"
\n" ); document.write( "---------------
\n" ); document.write( "The speed of the slower vehicle is 12 km/hr
\n" ); document.write( "The speed of the faster vehicle is 16 km/hr
\n" ); document.write( "---------------
\n" ); document.write( "check:
\n" ); document.write( "\"+20%5E2+=+s%5E2+%2B+%28+s%2B4+%29%5E2+\"
\n" ); document.write( "\"+400+=+12%5E2+%2B+16%5E2+\"
\n" ); document.write( "\"+400+=+144+%2B+256+\"
\n" ); document.write( "\"+400+=+400+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );