In a cage, there are eagles, rabbits and flamingos. There are 50 animals in the cage with a total of 128 legs (assume that flamingos have only one leg). But soon after putting the animals together, the zoo noticed that each eagle ate two of the rabbits each day. After 4 days, there was only one rabbit left in the cage. There are only a total of 32 legs left. How many flamingos are in the cage?
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.
The number of eagle = x, the number of rabbit = y, the number of flamingo = z.
After 4 days, the total legs are :
2x + 4 + z = 32 since there are x eagles, 1 rabbit and z flamingos.
2x + z = 28 ........ equation (1)
In first day, the total legs are :
2x + 4y + z = 128 since there are x eagles, y rabbit, and z flamingos.
2x + z = 128 - 4y ........... equation (2)
Solving both equation : 128 - 4y = 28
y = 2 5
Remember that each day, each eagle ate 2 rabbit. So, the number of rabbit eaten after 4 days are 24.
y = 8x + 1. x = 3
Using equation (1), with x=3, z = 2 2
Thus, the number of flamingos are 22.