And on his farm he had some cows and chicken. He counted a total of 123 heads and 456 legs. How many cows does Old McDonald have?
Details and assumptions
A cow has 1 head and 4 legs. A chicken has 1 head and 2 legs.
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.
Let Old McDonald have A cows and B chickens. Then, we are given that
A + B = 1 2 3 4 A + 2 B = 4 5 6
Taking the second equation and subtracting twice of the first equation, we get
2 A = ( 4 A + 2 B ) − 2 ( A + B ) = 4 5 6 − 2 ( 1 2 3 ) = 2 1 0 .
Hence, he has A = 2 2 1 0 = 1 0 5 cows.