146k views
3 votes
There are 204 legs in a farmyard full of goats and chickens. How many of each are there?

1 Answer

2 votes

One possible solution is that there are 30 goats and 42 chickens in the farmyard.

Let's denote the number of goats as g and the number of chickens as c.

  1. Each goat has 4 legs.
  2. Each chicken has 2 legs.

The total number of legs is given as 204. So, we can write the equation:

4g+2c=204

Divide both sides by 2 to simplify:

2g+c=102

Now, we need to find integer values for g and c that satisfy this equation.

Let's start by trying some values. One possible solution is:

g=30,c=42

Check if this solution satisfies the original equation:

4(30)+2(42)=120+84=204

Therefore, One possible solution is that there are 30 goats and 42 chickens in the farmyard.

User Davidhu
by
8.4k points