Problem: a factory that employs 1000 assembly line workers pays each of these workers $ 5 per hour for the first 40 hours worked during a week and 1 ½ times that rate for hours worked in excess of 40 . what was the total payroll for the assembly - line workers for a week in which 30 percent of them worked 15 hours , 50 percent worked 40 hours , and the rest worked 50 hours ?
Rationale: "30 % of 1000 = 300 worked for 15 hours payment @ 5 / hr total payment = 300 * 15 * 5 = 22500 50 % of 1000 = 500 worked for 40 hours payment @ 5 / hr total payment = 500 * 40 * 5 = 100000 remaining 200 worked for 50 hours payment for first 40 hours @ 5 / hr payment = 200 * 40 * 5 = 40000 payment for next 10 hr @ 7.5 / hr payment = 200 * 10 * 7.5 = 15000 total payment = 22500 + 100000 + 40000 + 15000 = 1775000 hence , answer is d"
annotated_formula: multiply(add(divide(1, 15), 1), divide(multiply(1000, divide(add(add(multiply(add(multiply(divide(const_3, const_2), multiply(5, 15)), multiply(40, 5)), subtract(15, add(const_3, 5))), multiply(multiply(40, 5), 5)), multiply(multiply(5, 15), const_3)), 15)), 1000))