I need this done by tommorow and so far I’ve gotten nowhere,
basically,
a farmer is given 100 dollars by a tax payer and must spend all 100 dollars while buying exactly 100 animals, and the animals are:
sheep for 50 cents
cattle for 1 dollar
and horse for 10 dollars
so what combination of animals can I do that’ll make it so If I spend 100 dollars, I get 100 animals??
also you have to have at least 1 of each animal.
100 cattle, don’t look back on the decision we just made
sorry i didnt clarify, but you need at least 1 of each animal
1 horse
2 sheep
88 cattle
10 + (2 * 0.5) + 88 = 100
thats only 91 animals, though
i hate this question
Ive been trying to do it for three days.
Let S be number of sheep, C be number of cattle, and H be number of horses
0.5S + 1C + 10H = 100 ------------------>[Equation 1.]
S + C + H = 100 ---------------------------> [Equation 2.]
Rearranging Equation 2:
C = 100 - S - H
Subsituting into Equation 1:
-0.5S + 9H = 0
=> S = 18H
Subsituting into Equation 2:
19H + C = 100
They have to be a whole number, so H >= 1. Say C = 81, H = 1 (honestly guessed this. There is probably more than one solution - considering that it has 2 equations 3 unknowns)
Then S must be 18H or 18.
To summarize: 9$ + 81$ + 10$ = 100$
And 81 + 18 + 1 = 100
Thank you… but I need to find three different ways to solve it so.
that’s just insulting
Yeah, all of my friends pretty much gave up on it
You have two equations and three unknowns. There should be several solutions to it. They’re probably not all whole numbers, but you could use just different guesses that H = 2,3,4 etc. until you work out enough legitimate answers.
Technically, there is an infinite number of solutions to the equations that I listed (due to 2 equations 3 unknowns). However, many of them have to be ruled out due to the fact that none of our values can be fractions or negative numbers.
It’s best to use H as the " guess slider" in this instance, as it guarantees that the other values can expressed as H multiplied by a whole number. Once you start getting negative answers with your H guess you’ve known you’ve gone too high.
As Whiskyjack says there are 3 unknowns, so rearrange the second equation
Anyone want to do my homework?
It’s easy I just don’t feel like doing it. 
Is it English literature?
Uhh. I think you should do it.
This is rich.
I said I needed help, I didn’t ask someone to do it for me, and I’ve been trying for 3 days with no results and a lot of frustration.
You mean that lady that talks in front of the class did not perhaps elude to how it could be done at some point?
It was mostly homework, so not really, and it’s advanced math so yeah