a freight elevator can carry a maximum load of 1100 pounds . sean , who weighs 200 pounds , is in the elevator with two packages weighing 150 pounds and 280 pounds . if he needs to fit 3 more packages in the elevator that weigh as much as possible without exceeding the elevator limit , what is the difference between their average and the average of the two packages already in the elevator ?
the average of existing 2 package is 150 + 280 / 2 = 430 / 2 = 215 remaining allowed weight = 1100 - 200 - 430 = 470 . allowed per package = 470 / 3 = 156 so difference in average of existing and allowable = 215 - 156 = 59 hence a
subtract(divide(add(150, 280), const_2), divide(subtract(subtract(1100, 200), add(150, 280)), 3))