Geese and piglets

There were geese and piglets in the yard. Jane calculated that they have a total of 20 heads and 64 legs. How many geese and how many piglets were in the yard?

Correct answer:

h =  8
p =  12

Step-by-step explanation:


h+p=20
2h+4p=64

h+p=20
2·h+4·p=64

h+p = 20
2h+4p = 64

Pivot: Row 1 ↔ Row 2
2h+4p = 64
h+p = 20

Row 2 - 1/2 · Row 1 → Row 2
2h+4p = 64
-p = -12


p = -12/-1 = 12
h = 64-4p/2 = 64-4 · 12/2 = 8

h = 8
p = 12

Our linear equations calculator calculates it.



Did you find an error or inaccuracy? Feel free to write us. Thank you!







Tips for related online calculators
Do you have a system of equations and looking for calculator system of linear equations?

You need to know the following knowledge to solve this word math problem:

Related math problems and questions: