I've always wondered how food packagers hit precise weights with multiple items that are different sizes. For instance, if you buy a 12-oz. package of unsliced mushrooms, they're not all the same size--does somebody have to sit there and randomly take different mushrooms in and out to hit the numbers?
No. Instead, they use this machine that does the math for you, and gives feedback with red and green arrows: