document.write( "Question 900760: Two cars leave an intersection, one traveling west and the other south. After some time, the faster car is 7 miles farther away from the intersection than the slower car. At that time, the two cars are 13 miles apart. How far did each car travel?\r
\n" ); document.write( "\n" ); document.write( "My work: x^2+(x+7)^2=13^2
\n" ); document.write( "x^2+x^2+(x+7)(x+7)=169
\n" ); document.write( "2x^2+7x+7x=169
\n" ); document.write( "2x^2+14x=169
\n" ); document.write( "2x^2+14x-155=0
\n" ); document.write( "

Algebra.Com's Answer #546119 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
 
\n" ); document.write( "Hi
\n" ); document.write( "x^2+(x+7)^2=13^2 Note: (x+7)^2 = (x+7)(x+7) = x^2 + 14x + 49
\n" ); document.write( " x^2+ x^2 + 14x + 49 =169
\n" ); document.write( "2x^2 + 14x = 169-49
\n" ); document.write( "2x^2 + 14x = 120
\n" ); document.write( "x^2 + 7x - 60 = 0
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"1x%5E2%2B7x%2B-6+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%287%29%5E2-4%2A1%2A-6=73\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=73 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-7%2B-sqrt%28+73+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%287%29%2Bsqrt%28+73+%29%29%2F2%5C1+=+0.772001872658765\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%287%29-sqrt%28+73+%29%29%2F2%5C1+=+-7.77200187265877\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B7x%2B-6\" can be factored:
\n" ); document.write( " \"1x%5E2%2B7x%2B-6+=+1%28x-0.772001872658765%29%2A%28x--7.77200187265877%29\"
\n" ); document.write( " Again, the answer is: 0.772001872658765, -7.77200187265877.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B7%2Ax%2B-6+%29\"
\n" ); document.write( " \n" ); document.write( "
\n" );