Hayley can sell zucchini bread for $4 and banana bread for $3. What is the greatest amount of money she'll collect with 22 cups of sugar and 4 sticks of butter?

Recipes:
Banana bread- 2 cups of sugar, .25 sticks of butter
Zucchini bread- 1.5 cups of sugar, .5 sticks of butter

2 answers

This is a question dealing with linear programming.

Let the number of banana breads baked be b
let the number of Zucchini breads baked be z
2b + 1.5z ≤ 22 ---> 4b + 3z ≤ 44
.25b + .5z ≤ 4 ---> b + 2z ≤ 16

solve the upper-boundary equations:
4b + 3z = 44
b + 2z = 16
solve these equations for b and z , comes out to nice whole numbers.

income = 4z + 3b
plug in your values and you got it
huh