a recipe requires 2 1 / 2 ( mixed number ) cups of flour 2 3 / 4 ( mixed number ) cups of sugar and 1 1 / 3 ( mixed number ) cups of milk to make one cake . victor has 15 cups if flour , 16 cups of sugar and 8 cups of milk . what is the greatest number of cakes tom can make using this recipe ?
less work up front : go through each item and see what the greatest number of cakes you can make with each . the lowest of these will be the right answer . flour : 15 cups , we need 2.5 cups each . just keep going up the line to see how many cakes we can make : that means i can make 2 cakes with 5 cups , so 6 cakes overall with 15 cups . i ' ve already got the answer narrowed to either a or b . sugar : 16 cups , we need 2.75 cups each . same principle . i can make 2 cups with 5.5 cups , so to make 6 cakes i ' d need 16.5 cups . i do n ' t have that much sugar , so we ' re limited to 5 cakes . no need to even do milk because we ' re already at 5 . sugar will be the limiting factor . answer is a
min(min(divide(15, add(2, divide(const_1, const_2))), floor(divide(16, add(divide(const_3, const_4), 2)))), divide(8, add(divide(1, 3), 1)))