document.write( "Question 169352: avoiding a collision: a car is traveling on a road that is perpendicular to a railroad track. when the car is 30 meters from the crossing, the car's new collison detector warns the driver that there is a train 50 meters from the car and heading toward the same crossing. how far is the train from the crossing? \n" ); document.write( "
Algebra.Com's Answer #124860 by algebrapro18(249)\"\" \"About 
You can put this solution on YOUR website!
All you would need to do is use the pythagorean theorem. It states that for a right triangle the the length of both of the legs(a and b) squared is equal to the square of the hypotenuse(c). or in simple language a^2 + b^2 = c^2.\r
\n" ); document.write( "\n" ); document.write( "Now we know one of the legs is 30 meters(the distance from the car to the track). The hypotenuse is 50 meters(distance from the train to the car). Now we just need to solve for the other leg.\r
\n" ); document.write( "\n" ); document.write( "a^2 + b^2 = c^2
\n" ); document.write( "(30)^2 + b^2 = (50)^2
\n" ); document.write( "b^2 = (50)^2 - (30)^2 = 2500-900 = 1600 meters\r
\n" ); document.write( "\n" ); document.write( "now to find the leg we need to take the square root of 1600 which is 40. So your final answer is 40 meters.
\n" ); document.write( "
\n" ); document.write( "
\n" );