A farmer has pigs and chickens. She counted 140 eyes and 200 legs. How many pigs and how many chickens were there?

1 Answer
Sep 30, 2016

"The farmer has "30" pigs and "40" chickens."

Explanation:

Suppose that there are p pigs and c chickens.

Pigs and chickens have 2 eyes, so, total no. of eyes is 2p+2c.

The farmer counted 140" eyes, so, "2p+2c=140.............(1)

Coming to the count of legs, we have, 4p+2c=200..........(2)

(2)-(1) rArr 2p=60 rArr p=30.

Then, by (1), 60+2c=140 rArr 2c=80 rArr c=40.

"Thus, the farmer has "30" pigs and "40" chickens."