A farmer has some hens and some goats. If the total number of animal heads is 80 and the total number of animal feet is 200, what is the total number of goats?
Let the number of goats =x
the number of hens =y
It is given that, Total umber of animals =80
⇒x+y=80 ---(1)
As per fact that, each hen has 2 legs and each goat has 4 legs and it is given that, total umber of legs are 200.
⇒4x+2y=200 ---(2)
From (1),
⇒x+y=80
⇒x=80−y
Lets substitute x=80−y in 4x+2y=200
⇒4(80−y)+2y=200
⇒320−4y+2y=200
⇒320−2y=200
⇒−2y=200−320
⇒−2y=−120
⇒2y=120
⇒y=1202
⇒y=60
⇒ number of hens are 60.
Now, lets substitute y=60 in x+y=80
⇒x+60=80
⇒x=80−60=20
⇒ the number of goats =20
Hence, Option B is correct.