document.write( "Question 277656: I have searched everywhere reading everything... I do not know how to turn this problem into a quadratic equation. Sammy takes 5 hours longer to complete 300 lines of code than Martin. Together Sammy and Martin can complete the code in 6 hours. How long does it take each programmer to complete the code if they complete on their own. At what speed is each programming lines per hour \n" ); document.write( "
Algebra.Com's Answer #202120 by edjones(8007)![]() ![]() You can put this solution on YOUR website! Let s=hrs sammy takes and m=hrs martin takes \n" ); document.write( "s=m+5 \n" ); document.write( "in 1 hr martin gets 1/m of the job done and sammy gets 1/(m+5) done. \n" ); document.write( "1/m + 1/(m+5) = 1/6 \n" ); document.write( "6(m+5)+6m=m(m+5) \n" ); document.write( "6m+30+6m=m^2+5m \n" ); document.write( "m^2-7m-30=0 \n" ); document.write( "(m-10)(m+3)=0 \n" ); document.write( "m=10 hrs \n" ); document.write( "s=15 hrs \n" ); document.write( ". \n" ); document.write( "Ed \n" ); document.write( " |