First principles of feeding farm animals, etc.