Optimal economic growing quantity for reproductive farmed animals under profitable by-products and carbon emission considerations · Study