SOLUTION: Sammy takes 5 hours longer to complete 300 lines of code than Martin. Together, Sammy and Martin can complete the code in 6 hours. Clearly explain the results showing the calculati
Algebra ->
Customizable Word Problem Solvers
-> Numbers
-> SOLUTION: Sammy takes 5 hours longer to complete 300 lines of code than Martin. Together, Sammy and Martin can complete the code in 6 hours. Clearly explain the results showing the calculati
Log On
Question 295716: Sammy takes 5 hours longer to complete 300 lines of code than Martin. Together, Sammy and Martin can complete the code in 6 hours. Clearly explain the results showing the calculations of how long it takes each programmer to complete the code if he programs on his own and at what speed he is programming lines per hour.
You can put this solution on YOUR website! Sammy takes 5 hours longer to complete 300 lines of code than Martin.
Together, Sammy and Martin can complete the code in 6 hours.
Clearly explain the results showing the calculations of how long it takes each
programmer to complete the code if he programs on his own and at what speed he
is programming lines per hour.
:
Let m = time required by Martin to complete 300 lines of code
then
(m+5) = time required by Sammy
:
Let the completed job = 1 (300 lines of code)
:
Working together equation + = 1
Multiply equation by m(m+5), results:
6(m+5) + 6m = m(m+5)
:
6m + 30 + 6m = m^2 + 5m
:
12m + 30 = m^2 + 5m
A quadratic equation
m^2 + 5m - 12m - 30 = 0
m^2 + 7m - 30 = 0
Factors to:
(m+10)(m-3) = 0
the positive solution
m = 3 hrs is Martin's time to code 300 lines; that's 300/3 = 100 lines/hr
and
3 + 5 = 8 hrs is Sammy's time to code 300 lines; that's 300/8 = 37.5 line/hr
You can put this solution on YOUR website! Do not submit more than once.
Submit in only one category.
http://www.algebra.com/algebra/homework/Linear-equations/Linear-equations.faq.question.295680.html