a baker makes chocolate cookies and peanut cookies . his recipes allow him to make chocolate cookie in batches of 5 and peanut cookies in batches of 6 . if he makes exactly 94 cookies , what is the minimum number of chocolate chip cookies he makes ?
5 c + 6 p = 94 we need to maximize p to minimize c so that the eq is also satisfied try substitution for cp to solve so that eqn is satisfied the least value of c for which equation gets satisfied is 5 i . e . 5 * 8 + 6 * 9 = 40 + 54 = 94 hence e is the answer
multiply(divide(subtract(94, reminder(94, add(5, 6))), add(5, 6)), 5)