All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Chickens, Pigs, and Cattle (Posted on 2004-02-19) Difficulty: 2 of 5
You are sent to the market by your father with 800 dollars, and told to buy 100 animals. When you arrive at the market, you find out that pigs cost 8 dollars each, so it would be easy to follow your father's instructions.

However, you see that there are only 99 pigs for sale. The only other animals there are chickens for 1 dollar each, and cows for 80 dollars each.

If there are enough chickens and cows for you to buy as many as you wanted, how can you end up buying 100 animals using exactly 800 dollars?

See The Solution Submitted by RoyCook    
Rating: 2.1000 (10 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Puzzle Solution: Method II | Comment 23 of 24 |
(In reply to Puzzle Solution: Method I by K Sengupta)

In terms of the previous method, we have the set of equations:

x+y+z = 100 ..........(I)
8x+ y+ 80z = 800......(II)
with the restriction x< = 99.

Then, 8*(I) - (II) gives:

7y = 72z
or, y/72 = z/7 = p(say)
or, (y, z) = (72p, 7p)

Thus, x+y+z = 100, gives:
x+79p = 100

But, p>=2 gives:
100 = x + 79p >= x + 79*2 > = 158 > 100, which leads to a
contradiction.

Accordingly, p = 1 so that x = 100 - 79 = 21, and :
(y, z) = (72, 7)

Consequently, the respective numbers of pigs, chickens and cows that the individual could buy is 21, 72 and 7.


  Posted by K Sengupta on 2008-05-08 14:17:53
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (14)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information