# math

posted by .

You have exactly 100 dollars to buy 100 animals you must buy at least one of each of the following animals Chickens=50 cents each Pigs=3.00 each Cows=10.00 each

• math -

Don't you just love these 19th Century textbooks?
A pig for \$3 !!!!! WOW

let number of cows be x
let the number of pigs be y
then the number of chickens = 100-x-y

10x + 3y + .5(100-x-y) < 100
times 2
20x + 6y + 100 - x - y < 200
19x + 5y < 100

consider 19x + 5y = 100

But , what is the question?

Do you want the different combinations you can buy? Do we want as close as possible to \$100?

Remember x and y have to be positive integers.
so x has to be between 1 and 5

form a table with columns
x, y, and 100-x-y, and cost

1 16 83 99.50
1 15 82 86.00
...
5 1 94 100

x=5, y=1 is the only combination that will use all the money

He should buy 5 cows, 1 pig and 94 chickens

5+1+94 = 100
\$50 + \$3 + \$47 = \$100

• math -

A Golden Oldie

If you had a \$100.00 to spend and need to buy a 100 animals, and cows cost
\$10.00, pigs \$3.00, chickens .50 cents each,how many of each can you buy?

Let C, P, and F be the numbers of cows, pigs, and fowl.
1--C + P + F = 100
2--10C + 3P + .5F = 100 or 100C + 30P + 5F = 1000
3--Multiplying (1) by 5 and subtracting from (2) yields 19C + 5P = 100
4--Dividing through by 5 gives P + 3C + 4C/5 = 20
5--4C/5 must be an integer as must be C/5
6--Let C/5 = k making C = 5k
7--Substituting (6) back into (3) gives 95k + 5P = 100 making P = 20 - 19k
8--k can only be 1 making C = 5, P = 1, and F = 94
Check: 10(5) + 3(1) + .5(94) = \$100

Alternatively

Let C, P, and F be the numbers of cows, pigs, and fowl.
1--C + P + F = 100
2--10C + 3P + .5F = 100 or 100C + 30P + 5F = 1000
3--Multiplying (1) by 5 and subtracting from (2) yields 19C + 5P = 100
4--Solving for P, P = 20 - 19C/5
5--19C/5 must be an integer meaning that C must be evenly divisible by 5.
6--Thus, C must be 5 making P = 1, C = 5, and F = 94.

## Similar Questions

1. ### math

a farmer bought chickens, goats and sheep. He bought 100 animals and spent \$100. how much of each animal did he buy a farmer bought chickens, goats and sheep. He bought 100 animals and spent \$100. how much of each animal did he buy …
2. ### avd. math

farmer joe needs cows pigs an chickens cows cost 10.00 each and pigs cost .50 cents each,an chickens are 10 cents.he needs 100 animals an he only has 100 dollars . let x=cow, y=pig, and z=chicken 10x + .5y +.1z = 100 x + y + z = 100 …
3. ### Math

I have \$100.00 dollars to spend to buy 100 animals. Cows cost \$50.00 each, sheep cost \$3.00 each, pigs cost \$2.00 each and chicks cost \$0.10 each. How many of each do I need to buy to spend \$100.00 dollars and have 100 aninals?
4. ### math

Afarmer must purchase 100 animals. He must spend exactly \$100. He must have at least one of each animals. Sheep cost \$.50, cattle cost \$1.00 and horses cost \$10
5. ### math

A farmer has \$100.he has to buy 100 farm animals.He has to spend exactly \$100 and get exactly 100 farm animals. Whats a solution for this problem
6. ### math

i have 100.00 to spend on 100 animals. the chickens are .05 each, the pigs are 5.00 each, and the cows are 10.00 each.
7. ### maths

I need to buy 100 farm animals with \$100.. I need to have brought at least on of each animal. Roosters are \$5ea, Hens \$3ea and chickens 3 for \$1. Can anyone help?
8. ### Math

a horse is \$5 a cow is \$3 & chickens r \$.50 ea. now buy 100 animals 4 exactly \$100
9. ### math

I have 50.00 to buy 50 animals. Chickens are .50, cows are 2.50,and birds are 5.00. How many of each animal can i purchase?
10. ### math

You have exactly \$100 to spend. You must get 100 animals. The chicks cost \$0.50 each. The pigs cost \$2.00 each. The sheep cost \$5.00 each you must get some of each animals. How many of each animals can you get.

More Similar Questions