document.write( "Question 328233: A car is traveling on a road that is perpindicular to a railroad track. When the car is 30 meters from the crossing, the car's new collision detector warns the driver that there is a train 50 meters from the car and heading towards the same crossing. How far is the train from the crossing? \n" ); document.write( "
Algebra.Com's Answer #235204 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
Set up a right triangle and use the Pythagorean theorem \"A%5E2%2BB%5E2=C%5E2\".
\n" ); document.write( "One leg is from the car to the crossing.
\n" ); document.write( "One leg is from the train to the crossing.
\n" ); document.write( "The hypotenuse is from the car to the train.
\n" ); document.write( "\"30%5E2%2BB%5E2=50%5E2\"
\n" ); document.write( "\"900%2BB%5E2=2500\"
\n" ); document.write( "\"B%5E2=1600\"
\n" ); document.write( "\"B=40\"
\n" ); document.write( "The train is 40m from the crossing.
\n" ); document.write( "
\n" ); document.write( "
\n" );