165k views
3 votes
The farmer looks out in the barnyard and Cesar pigs and the chickens. He says to his daughter, “ I count 40 heads in 100 feet. How many pigs and how many chickens are out there?”

1 Answer

2 votes

Answer:

There are 10 pigs and 30 chickens

Explanation:

Let the number of pigs be x

let the number of chickens be y

Then there are 40 heads . So the total number of pigs and chickens is 40

x + y = 40-----------------------(1)

We know that pigs have 4 legs and chickens have 2 legs

4x + 2y = 100----------------------(2)

Solving (1) and (2)

multiply (1) by 2

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

subtract (3) from (2)

4x + 2y = 100

2x + 2y = 80

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

2x = 20

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


x = (20)/(2)

x = 10

Now Substituting x in (1), we get

10 + y = 40

y = 40 - 10

y = 30

User Superuseroi
by
8.2k points