document.write( "Question 295680: Two programmers are working on writing a new program that will check for viruses when incoming messages enter the company’s server.
\n" ); document.write( "The first programmer, Sammy, grossed $535 in 1 week by working 48 hours. The second programmer, Martin, grossed $587 in 1 week by working 52 hours. Time-and-a-half is paid for all hours worked in excess of 40 hours. Which programmer earns more per hour (hint: linear equations)?
\n" ); document.write( "Sammy takes 5 hours longer to complete 300 lines of code than Martin. Together, Sammy and Martin can complete the code in 6 hours.
\n" ); document.write( "Clearly explain the results showing the calculations of how long it takes each programmer to complete the code if he programs on his own (hint: quadratic equation) and at what speed he is programming lines per hour.
\n" ); document.write( "

Algebra.Com's Answer #213112 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
salary
\n" ); document.write( "535=(8)*s/2+s*48
\n" ); document.write( "587=12*m/2+m*52
\n" ); document.write( "m=10.1207,s=10.2885
\n" ); document.write( "m=10.12 s=10.29\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "work problem
\n" ); document.write( "6/(x+5)+6/x=1
\n" ); document.write( "x=10 Martin takes 10 hours alone 30 lines an hour
\n" ); document.write( "x+5=15 Sammy takes 15 hours alone 20 lines an hour
\n" ); document.write( "6/10+6/15=1
\n" ); document.write( "3/5 + 2/5=1
\n" ); document.write( "Sammy does 2/5 and Martin does 3/5 of the job.
\n" ); document.write( "2/5*300=120 lines working together
\n" ); document.write( "3/5*300=180 lines working together
\n" ); document.write( "
\n" );