document.write( "Question 1180675: Two trains leave railway stations at the same time. The first train travel due West
\n" ); document.write( "in the second train due north. The first travels 5KM/hr faster than the second train. if after two hours, they are 50 KM apart, find the average speed of each train.
\n" ); document.write( "

Algebra.Com's Answer #810416 by Edwin McCravy(20055)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Let the northbound train's rate be r km/h\r\n" );
document.write( "Then the westbound train's rate is r+5 km/h\r\n" );
document.write( "\r\n" );
document.write( "After 2 hours, using d = rt\r\n" );
document.write( "\r\n" );
document.write( "the northbound train's distance is 2r\r\n" );
document.write( "the westbound train's distance is 2(r+5)\r\n" );
document.write( "\r\n" );
document.write( "We use the Pythagorean theorem to write an\r\n" );
document.write( "expression for their distance apart, which\r\n" );
document.write( "is the hypotenuse of a right triangle.\r\n" );
document.write( "\r\n" );
document.write( "distance ap[art = \"sqrt%28%282%28r%2B5%29%29%5E2%2B%282r%29%5E2%29\"\r\n" );
document.write( "\r\n" );
document.write( "Make the drawing\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"sqrt%28%282%28r%2B5%29%29%5E2%2B%282r%29%5E2%29\"\"%22%22=%22%22\"\"50\"\r\n" );
document.write( "\r\n" );
document.write( "Square both sides:\r\n" );
document.write( "\r\n" );
document.write( "\"%282%28r%2B5%29%29%5E2%2B%282r%29%5E2\"\"%22%22=%22%22\"\"2500\"\r\n" );
document.write( "\r\n" );
document.write( "That simplifies to \r\n" );
document.write( "\r\n" );
document.write( "\"8r%5E2%2B40r-2400\"\"%22%22=%22%22\"\"0\"\r\n" );
document.write( "\r\n" );
document.write( "Which conveniently can be divided through by 8\r\n" );
document.write( "\r\n" );
document.write( "\"r%5E2%2B5r-300\"\"%22%22=%22%22\"\"0\"\r\n" );
document.write( "\r\n" );
document.write( "which is conveniently factorable as\r\n" );
document.write( "\r\n" );
document.write( "\"%28r%2B20%29%28r-15%29\"\"%22%22=%22%22\"\"0\"\r\n" );
document.write( "\r\n" );
document.write( "r+20 = 0;   r-15 = 0\r\n" );
document.write( "   r = -20;    r = 15\r\n" );
document.write( "\r\n" );
document.write( "Ignore the negative answer.\r\n" );
document.write( "\r\n" );
document.write( "The northbound train's rate is 15 km/h\r\n" );
document.write( "The westbound train's rate is 15+5=20 km/h\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );