Calculate 27351

There were goats and chickens in the yard. The total number of heads was 15, and the total number of legs was 40. Calculate the number of hens. Every animal has all its legs.

Correct answer:

a =  5
b =  10

Step-by-step explanation:


a+b=15
4a+2b=40

a+b=15
4·a+2·b=40

a+b = 15
4a+2b = 40

Pivot: Row 1 ↔ Row 2
4a+2b = 40
a+b = 15

Row 2 - 1/4 · Row 1 → Row 2
4a+2b = 40
0.5b = 5


b = 5/0.5 = 10
a = 40-2b/4 = 40-2 · 10/4 = 5

a = 5
b = 10

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 linear equation or system of equations and are looking for its solution? Or do you have a quadratic equation?

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

Related math problems and questions: