MATH SOLVE

2 months ago

Q:
# Help please. Select all correct answers

Accepted Solution

A:

We're given pairs (A,B) and asked if we haveenough calcium,5A + 4B >= 24enough iron4A + 6B >= 15and enough vitamins7A + 4B >= 15We check each constraint on each pair; if we find any false we can stop for that pair.(A,B)=(1,4)5(1)+4(4)=21 Β under 24, NO CHECK(A,B)=(1,5)5(1) + 4(5) = 25, bigger than 24, good4(1) + 6(5) = 34, bigger than 15, good7(1) + 4(5) = 27, bigger than 15, good Β CHECK(A,B)=(2,3)5(2)+4(3)=22, NO CHECK(A,B)=(3,2)5(3)+4(2)=23, NO CHECK(A,B)=(4,1)5(4) + 4(1) = 24, ok4(4) + 6(1) = 22, ok7(4) + 4(1) = 32, ok, CHECK