Math
posted by Carmen on .
Count ostriches and llamas. Someone counted 47 heads and 122 legs. How many of each animals is on the farm.

a = number of ostriches
b = number of llamas
Numbers of heads = 47
That mean numbers of animals = 47
Numbers of animals = number of ostriches + number of llamas
a + b = 47
Numbers of legs = 122
Ostriches have two legs and llamas have four legs so :
2a + 4 b = 122
Now you must solve system of two equations :
a + b = 47
2a + 4 b = 122
The solutions are :
a = 33
b = 14
There are 33 ostriches and 14 llamas. 
33 ostriches and 14 llamas