A boy with 10 pesos wants to buy a total of 10 animals. Goat costs 50 cents, cow costs 1 peso and a horse for 3 pesos. Given that he bought at least one of each animal, how many goats does he have?
1 peso = 100 cents.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We start out with systems of equations. Let g = number of goats bought , c = number of cows bought , and h = number of horses bought . Since each goat costs 50 cents and 100 cents = 1 peso, each goat costs 1 0 0 5 0 = 2 1 pesos, and we have
2 g + c + 3 h = 1 0
g + c + h = 1 0 .
If we subtract the 1st equation from the second equation, we get − 2 g + 2 h = 0 , or 2 h = 2 g , or g = 4 h . Since he bought at least 1 of each animal, he couldn't have bought 0 horses and goats, and if he bought 2 horses, then he'd buy 8 goats, totaling 10 animals, and he didn't buy any cows. Therefore, he bought 1 horse, 4 goats, and 5 cows.