document.write( "Question 815344: [ Jill goes to work on a commuter train and travels 25 miles. She rides the train back home the same 25 miles. It takes an hour and 50 minutes round trip. The train ride home is 5 mph faster than the one taken to work. How fast are the trains going each way? ] \n" ); document.write( "
Algebra.Com's Answer #490902 by TimothyLamb(4379)\"\" \"About 
You can put this solution on YOUR website!
d = 25 miles
\n" ); document.write( "---
\n" ); document.write( "w = going to work time
\n" ); document.write( "h = coming home time
\n" ); document.write( "---
\n" ); document.write( "w + h = 60 + 50 = 110 minutes = 1.833333 hours
\n" ); document.write( "w = 1.833333 - h
\n" ); document.write( "---
\n" ); document.write( "s = d / t
\n" ); document.write( "---
\n" ); document.write( "speeds:
\n" ); document.write( "25/h = 25/w + 5
\n" ); document.write( "25/h - 25/w = 5
\n" ); document.write( "25w/hw - 25h/hw = 5
\n" ); document.write( "(25w - 25h)/hw = 5
\n" ); document.write( "25w - 25h = 5hw
\n" ); document.write( "25(1.833333 - h) - 25h = 5h(1.833333 - h)
\n" ); document.write( "45.833333 - 50h = 9.166666h - 5hh
\n" ); document.write( "5hh - 59.166666h + 45.833333 = 0
\n" ); document.write( "---
\n" ); document.write( "the above quadratic equation is in standard form, with a=5, b=-59.166666, and c=45.833333
\n" ); document.write( "---
\n" ); document.write( "to solve the quadratic equation, plug this:
\n" ); document.write( "5 -59.166666 45.833333
\n" ); document.write( "into this: https://sooeet.com/math/quadratic-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "the roots of the quadratic are:
\n" ); document.write( "10.999999
\n" ); document.write( "0.833333
\n" ); document.write( "---
\n" ); document.write( "since we know that w + h = 1.833333 hours, only the second root (0.833333) makes sense as the value of h:
\n" ); document.write( "h = 0.833333 hours
\n" ); document.write( "w = 1.833333 - 0.833333 hours = 1 hour
\n" ); document.write( "---
\n" ); document.write( "Answer:
\n" ); document.write( "going to work speed = 25/1 = 25 mph
\n" ); document.write( "coming home speed = 25/0.833333 = 30 mph
\n" ); document.write( "---
\n" ); document.write( "Solve and graph linear equations:
\n" ); document.write( "https://sooeet.com/math/linear-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "Solve quadratic equations, quadratic formula:
\n" ); document.write( "https://sooeet.com/math/quadratic-formula-solver.php
\n" ); document.write( "---
\n" ); document.write( "Convert fractions, decimals, and percents:
\n" ); document.write( "https://sooeet.com/math/fraction-decimal-percent.php
\n" ); document.write( "---
\n" ); document.write( "Calculate and graph the linear regression of any data set:
\n" ); document.write( "https://sooeet.com/math/linear-regression.php
\n" ); document.write( "
\n" );