Connect with knowledgeable experts and enthusiasts on IDNLearn.com. Find the information you need quickly and easily with our comprehensive and accurate Q&A platform.

Once upon a time, there was a former whose family raised pigs and chickens. One morning, the farmer's wife looked into the barnyard and told her husband that she counted 24 heads and 80 feet. How many chickens are in the yard? How many pigs are in the yard?

Sagot :

Using a system of equations, it is found that:

  • There are 8 chickens in the yard.
  • There are 16 pigs in the yard.

-----------------------------------------

This question is solved using a system of equations. I am going to say that:

  • x is the number of chickens.
  • y is the number of pigs.

-----------------------------------------

  • A chicken has 1 head, as do a pig.
  • There are 24 heads.

Thus:

[tex]x + y = 24 \rightarrow y = 24 - x[/tex]

-----------------------------------------

  • A chicken has 2 feet.
  • A pig has 4 feet.
  • In total, there are 80 feet.

Thus:

[tex]2x + 4y = 80[/tex]

-----------------------------------------

Number of chicken:

Since [tex]y = 24 - x[/tex]

[tex]2x + 4y = 80[/tex]

[tex]2x + 4(24 - x) = 80[/tex]

[tex]2x + 96 - 4x = 80[/tex]

[tex]2x = 16[/tex]

[tex]x = \frac{16}{2}[/tex]

[tex]x = 8[/tex]

There are 8 chickens in the yard.

-----------------------------------------

Number of pigs:

[tex]y = 24 - x = 24 - 8 = 16[/tex]

There are 16 pigs in the yard.

A similar problem is given at https://brainly.com/question/24104709