document.write( "Question 224164: The wind is blowing at a steady rate of 10 mph. It takes a truck a total of 5 hours to travel 120 miles west against the wind and then 120 miles back with the wind. What is the trucks speed in still air? \n" ); document.write( "
Algebra.Com's Answer #167477 by nerdybill(7384)\"\" \"About 
You can put this solution on YOUR website!
The wind is blowing at a steady rate of 10 mph. It takes a truck a total of 5 hours to travel 120 miles west against the wind and then 120 miles back with the wind. What is the trucks speed in stil
\n" ); document.write( ".
\n" ); document.write( "Applying the distance formula: d = rt
\n" ); document.write( ".
\n" ); document.write( "Let x = speed of truck in still wind
\n" ); document.write( "and y = time traveling against the wind
\n" ); document.write( "then
\n" ); document.write( "\"distance traveling against wind\"
\n" ); document.write( "(x-10)y = 120
\n" ); document.write( "\"distance traveling with wind\"
\n" ); document.write( "(x+10)(10-y) =120
\n" ); document.write( ".
\n" ); document.write( "So, now we have two equations and two unknowns:
\n" ); document.write( "(x-10)y = 120
\n" ); document.write( "(x+10)(10-y) =120
\n" ); document.write( ".
\n" ); document.write( "Our system of equations:
\n" ); document.write( "(x-10)y = 120 (equation 1)
\n" ); document.write( ".
\n" ); document.write( "(x+10)(10-y) =120
\n" ); document.write( "10x-xy-10y+100 = 120 (equation 2)
\n" ); document.write( ".
\n" ); document.write( "Solve equation 1 for y:
\n" ); document.write( "y = 120/(x-10)
\n" ); document.write( ".
\n" ); document.write( "Plug the definition of y (above) into equation 2 and solve for x:
\n" ); document.write( "10x-xy-10y+100 = 120
\n" ); document.write( "10x+100-xy-10y = 120
\n" ); document.write( "10x+100-(xy+10y) = 120
\n" ); document.write( "10x+100-y(x+10) = 120
\n" ); document.write( "10x+100-(120/(x-10))(x+10) = 120
\n" ); document.write( "Multiply BOTH sides by (x-10) to get rid of denominators:
\n" ); document.write( "10x(x-10)+100(x-10)-120(x+10) = 120(x-10)
\n" ); document.write( "10x^2-100x+100x-1000-120x-1200 = 120x-1200
\n" ); document.write( "10x^2-120x-2200 = 120x-1200
\n" ); document.write( "10x^2-240x-1000 = 0
\n" ); document.write( "x^2-24x-100 = 0
\n" ); document.write( "Since we can't factor, we must resort to the quadratic equation. Doing so will yield:
\n" ); document.write( "x = {27.62, -3.62}
\n" ); document.write( "A negative speed does NOT make sense, so toss it out leaving:
\n" ); document.write( "x = 27.62 mph
\n" ); document.write( ".
\n" ); document.write( "Details of quadratic equation to follow:
\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%2B-24x%2B-100+=+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=%28-24%29%5E2-4%2A1%2A-100=976\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=976 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28--24%2B-sqrt%28+976+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%28-24%29%2Bsqrt%28+976+%29%29%2F2%5C1+=+27.6204993518133\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%28-24%29-sqrt%28+976+%29%29%2F2%5C1+=+-3.62049935181331\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B-24x%2B-100\" can be factored:
\n" ); document.write( " \"1x%5E2%2B-24x%2B-100+=+1%28x-27.6204993518133%29%2A%28x--3.62049935181331%29\"
\n" ); document.write( " Again, the answer is: 27.6204993518133, -3.62049935181331.\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%2B-24%2Ax%2B-100+%29\"

\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );