32.3k views
5 votes
A farmer looks out into the barnyard and sees the pigs and the chickens. He says to his daughter, "I count 153 heads and 346 feet. How many pigs and how many chickens are out there?"

1 Answer

6 votes

Answer: There are 133 chickens and 20 pigs.

Explanation:

Let x be the number of chickens and y be the number of pigs.

Given : Number of heads of pigs and chicken = 153

Number of feet = 346

Since one chicken has 2 legs and one pig has 4 legs.

By considering the given information, we have the following system of equations:-


x+y=153------(1)\\\\ 2x+4y=346---------(2)

Multiply 2 on both sides of (1), we get


2x+2y=306-----(3)

Subtract (3) from (2), we get


2y=40\\\\\Rightarrow\ y=(40)/(2)=20

Put value of y in (1), we get


x+20=153\\\\\Rightarrow\ x=153-20=133

Hence, there are 133 chickens and 20 pigs.

User Turbod
by
5.7k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.