Answer:
There are 6 goats and 5 ducks.
Explanation:
Given:
Roxanne’s farmhouse shelters 11 animals.
Some are goats and some are ducks.
Altogether there are 34 legs.
Now, to find the number of each animals are there.
Let the number of goats be
.
And the number of ducks be
.
So, total number of animals are:
![x+y=11](https://img.qammunity.org/2020/formulas/mathematics/high-school/7t0ds92audhj55vhhiek5x0zjqfvg8dung.png)
⇒
.......( 1 )
Now, the total number of legs:
As goats have 4 legs and ducks have 2.
![4x+2y=34](https://img.qammunity.org/2020/formulas/mathematics/middle-school/z4c99jq0h5idt25ga43qpxhpx0bcawq8hm.png)
Putting the equation ( 1 ) in the place of
we get:
⇒
![4(11-y)+2y=34](https://img.qammunity.org/2020/formulas/mathematics/middle-school/mbbv4ovlel8ztmd754kfpa1bf0mem57hiz.png)
⇒
![44-4y+2y=34](https://img.qammunity.org/2020/formulas/mathematics/middle-school/28hgjywibzx8c47aws241ed1ckkaz4fd1b.png)
⇒
![44-2y=34](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ao405jo6wvyd9w6l3hwu2jasq62g1c9xx4.png)
Moving variable on one side and the numbers on the other we get:
⇒
![44-34=2y](https://img.qammunity.org/2020/formulas/mathematics/middle-school/x56h0js07g6jg4rvmme08dhtm3tvi0hb2f.png)
⇒
![10=2y](https://img.qammunity.org/2020/formulas/mathematics/middle-school/ds87oc2hm1qzqkj3t85m9qu084c3ltpejj.png)
Dividing both sides by 2 we get:
⇒
![5=y](https://img.qammunity.org/2020/formulas/mathematics/middle-school/s6skdc5ajk6rjpy18vgrx2c9vnezrgrhnj.png)
The number of ducks = 5.
Then, putting the value of
in equation ( 1 ) we get:
![x=11-5](https://img.qammunity.org/2020/formulas/mathematics/middle-school/zahnlcuta6k4pprgtko2anyckw856xsyu1.png)
⇒
![x=6.](https://img.qammunity.org/2020/formulas/mathematics/middle-school/sikwqda9nwjw7nogzqjrzfan1dbkc3r0zh.png)
The number of goats = 6.
Therefore, there are 6 goats and 5 ducks.