A farmer has some hens and goats.If the sum of their head is 240 and their feet is 640 then how many hens and goats are there?
Answers
Answered by
2
No. of hens are 160 and no. of goats are 80
keshavpd03:
How
Answered by
6
Let the hens be x .
Let the goats be y.
Sum of total heads of hens and total so,
x+y=240.••• (1)
Hens have two leg so, hens=2x
Goats have 4 legs so, goats =4y
2x+4y=640•••(2)
Solving simultaneously,
Multiply by 2 in eq-(1)
So
2x+2y=480
2x+2y=480
2x+4y=640
-__-___-___
-2y=-160
→2y=160
→y=80
Put y value in eq-(1)
x+y=240
x+80=240
x=240-80
x=160
Total hens=160.
Total goats=80.
Let the goats be y.
Sum of total heads of hens and total so,
x+y=240.••• (1)
Hens have two leg so, hens=2x
Goats have 4 legs so, goats =4y
2x+4y=640•••(2)
Solving simultaneously,
Multiply by 2 in eq-(1)
So
2x+2y=480
2x+2y=480
2x+4y=640
-__-___-___
-2y=-160
→2y=160
→y=80
Put y value in eq-(1)
x+y=240
x+80=240
x=240-80
x=160
Total hens=160.
Total goats=80.
Similar questions