We have a total of $100 to spend, and we must spend exactly $100. We are to buy exactly 100 animals consisting of sheep, cows, and horses and we are required to get at least one of each. Each sheep costs $0.50, each cow $1 and each horse $10.
Assign...
See
This Answer NowStart your 48-hour free trial to unlock this answer and thousands more. Enjoy eNotes ad-free and cancel anytime.
Already a member? Log in here.
We have a total of $100 to spend, and we must spend exactly $100. We are to buy exactly 100 animals consisting of sheep, cows, and horses and we are required to get at least one of each. Each sheep costs $0.50, each cow $1 and each horse $10.
Assign variables: let x equal the number of sheep purchased, y the number of cows, and z the number of horses. We can now set up a system of equations:
.5x+y+10z=100
x+y+z=100
This system has two equations with three unknowns. Thus the system is consistent (there is an answer) and dependent (there are multiple solutions.) Of course this is speaking of the mathematics. The problem has additional constraints that might make a mathematically correct solution nonviable. For instance if there are 6 horses, 108 sheep and -14 cows we have 6+108-14=100 and 6($10)+108($0.5)-14($1)=$100 but we cannot have a negative number of cows.
One way to solve the system is by elimination.
I. .5x+y+10z=100
II. x+y+z=100
2(I)-II yields y+19z=100 or y=100-19z.
I-II yields -.5x+9z=0 ==> .5x=9z ==> x=18z.
Thus the solution set is {18z,100-19z,z} for `z in NN, 1<=z<=5`
For example if z=1 then x=18 and y=81. This corresponds to 1 horse, 18 sheep and 81 cows. 1+18+81=100 animals and $10+$9+$81=$100 as required.
You could solve the system in terms of any of the variables.
Further Reading