Farmer brown has ostriches and llamas. Altogether she counts 98 feet and 33 heads. How many ostriches does she have?

Respuesta :

Answer: She has 17 ostriches.

Step-by-step explanation:

We know , ostrich has 2 legs where as llama has 4 legs.

Let x be the number of ostriches and y be the number of llamas.

Then, as per given , we have the following linear equations :

[tex]2x+4y=98---(i)\\\\ x+y=33---(ii)[/tex]

Multiply 2 to eqn (ii) , we get

[tex]2x+2y=66---(iii)\\[/tex]

Subtract (iii) from (i) , we get

[tex]2y=32\\\Rightarrow\ y=16[/tex]

Put this in (ii) , we get [tex]x+16=33\Rightarrow\ x=17[/tex]

Hence, there are 17 ostriches and 16 llamas.