In a farm consisting of cows and chickens, there are a total of 1022 feet. What is the minimum number of animals (that is, cows and chickens) satisfying this given condition?
We are to assume that no cow/chicken has dismembered/extra feet.
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.
For x cows and y hen, the equation is 4x + 2y = 1022 2x + y = 511 Now, we see that on increase of y by 2, x gets reduced by 1. So, for minimum number of animals, we find solution at minimum y. Minimum of positive y is 1, at which x is 255. So answer is 256 animals.
If we had to find maximum animals, we would have found solution at maximum y. It would have been 511.