|  | 
| 
 
 
| Question 295680:  Two programmers are working on writing a new program that will check for viruses when incoming messages enter the company’s server.
 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)?
 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 (hint: quadratic equation) and at what speed he is programming lines per hour.
 Answer by richwmiller(17219)
      (Show Source): 
You can put this solution on YOUR website! salary 535=(8)*s/2+s*48
 587=12*m/2+m*52
 m=10.1207,s=10.2885
 m=10.12 s=10.29
 
 work problem
 6/(x+5)+6/x=1
 x=10 Martin takes 10 hours alone 30 lines an hour
 x+5=15 Sammy takes 15 hours alone 20 lines an hour
 6/10+6/15=1
 3/5 + 2/5=1
 Sammy does 2/5 and Martin does 3/5 of the job.
 2/5*300=120 lines working together
 3/5*300=180 lines working together
 | 
  
 | 
 |  |  |