document.write( "Question 394108: A small commuter airline flies to 3 cities whose locations form the vertices of a right triangle. The total flight distance (from city A to city B to city C and back to City A) is 1400 miles. It is 600 miles between the two cities that are furthest apart. Find the other two distances between cities. \n" ); document.write( "
Algebra.Com's Answer #279618 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
A small commuter airline flies to 3 cities whose locations form the vertices of a right triangle. The total flight distance (from city A to city B to city C and back to City A) is 1400 miles. It is 600 miles between the two cities that are furthest apart. Find the other two distances between cities.
\n" ); document.write( "...
\n" ); document.write( "ABC is a right triangle
\n" ); document.write( "..
\n" ); document.write( "AB+BC+CA=1400 = perimeter of triangle
\n" ); document.write( "..
\n" ); document.write( "The longest side in a right triangle is the hypotenuse.
\n" ); document.write( "..
\n" ); document.write( "hypotenuse = 600
\n" ); document.write( "if one leg is x then the other leg = 1400-600-x= 800-x
\n" ); document.write( "..
\n" ); document.write( "Use Pythagoras theorem
\n" ); document.write( "leg1^2 +leg2^2=Hyp^2
\n" ); document.write( "x^2+(1400-(600-x))^2=600^2\r
\n" ); document.write( "\n" ); document.write( "x^2+(800-x)^2=600^2
\n" ); document.write( "x^2+640000-1600+x^2=360000
\n" ); document.write( "2x^2-1600x+640000-360000=0
\n" ); document.write( "2x^2-1600x+280000=0
\n" ); document.write( "/2
\n" ); document.write( "x^2-800x+140,000=0
\n" ); document.write( "slove using quadratic equation
\n" ); document.write( "Find the roots of the equation by quadratic formula
\n" ); document.write( "a= 1 , b = -800 , c = 140,000
\n" ); document.write( "b^2-4ac= 80,000
\n" ); document.write( "\"x=%28-b%2B-sqrt%28b%5E2-4ac%29%29%2F%282a%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x1=%28800%2Bsqrt%2880000%29%29%2F%282%29\"
\n" ); document.write( "x= 541.42 miles
\n" ); document.write( "...
\n" ); document.write( "\"x2=%28800-sqrt%2880000%29%29%2F%282%29\"
\n" ); document.write( "x2= 258.57 miles
\n" ); document.write( "..
\n" ); document.write( "m.ananth@hotmail.ca\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );