in a class of 40 students , 2 students did not borrow any books from the library , 12 students each borrowed 1 book , 14 students each borrowed 2 books , and the rest borrowed at least 3 books . if the average number of books per student was 2 , what is the maximum number of books any single student could have borrowed ?
the class borrowed a total of 40 * 2 = 80 books . the 28 students who borrowed 0 , 1 , or 2 books borrowed a total of 12 + 14 * 2 = 40 . to maximize the number of books borrowed by 1 student , let ' s assume that 11 students borrowed 3 books and 1 student borrowed the rest . 80 - 40 - 3 * 11 = 7 the maximum number of books borrowed by any student is 7 . the answer is e .
subtract(multiply(40, 2), add(multiply(subtract(subtract(40, add(add(multiply(12, 1), 14), 2)), 1), 3), add(multiply(12, 1), multiply(14, 2))))