SOLUTION: There are 13 animals in the barn. Some are chickens and some are pigs. There are 40 legs in all. How many of each animal are there?

Algebra.Com
Question 1174008: There are 13 animals in the barn. Some are chickens and some are pigs. There are 40 legs in all. How many of each animal are there?
Found 2 solutions by ikleyn, ewatrrr:
Answer by ikleyn(52866)   (Show Source): You can put this solution on YOUR website!
.

a TWIN problem was solved for you 4 minutes ago at this link

https://www.algebra.com/algebra/homework/Systems-of-equations/Systems-of-equations.faq.question.1174011.html

https://www.algebra.com/algebra/homework/Systems-of-equations/Systems-of-equations.faq.question.1174011.html


Consider it as your TEMPLATE.


Having this template in front of you, solve the current problem in the same way.


E n j o y (!)


--------------

To see many other similar solved problems, look into the lessons
    - Problem on two-wheel and three-wheel bicycles
    - Problem on animals at a farm
    - Problem on pills in containers
    - What type of problems are these?
in this site.




Answer by ewatrrr(24785)   (Show Source): You can put this solution on YOUR website!
 
Hi,
There are 13 animals in the barn. Some are chickens and some are pigs. 
There are 40 legs in all. How many of each animal are there?
 Let x be the number of pigs and (13-x) the number of chickens
  4x + 2(13-x) = 40 legs
  4x + 26 - 2x = 40
        2x = 14 
          x = 7  is the number of pigs 
              6  is the number of chickens 
checking our work:
    4*7 + 2*6= 28 + 12 = 40      
Wish You the Best in your Studies.




/\/\/\/\/\/\/\/

To tutor @ewatrrr

    Please look into the last line in your post source code.


    It's me who added this line to your code.


    May I ask you PLEASE to provide this line (such line) at the end of each your post ?


    It serves to CLOSE  the font options  of your source code.


    Otherwise, these options extend their influence to the posts of other tutors on the same subject.


    THANK YOU.


    @ikleyn


It is, probably, my attempt #7 to bring this message to your attention.

I placed it in my posts several times today, but it seems to me that you do not see anything here at the forum.
@ikleyn, am aware of your concern, did not know how to address it manually.
Using what You now provided, leaves the spacing of lines too close.
Prefer more spacing. Perhaps you might have another suggestion.

...............

Sure.

Simply make one empty line between your text lines. That is all.




RELATED QUESTIONS

There are 13 animals in the barn. Some are chickens and some are pigs. There are 40 legs... (answered by richwmiller)
There are 13 animals in the barn. Some are chickens and some are pigs. There are 40 legs (answered by macston)
Please help me sole this problem: There are 13 animals in a barn. Some are chickens and... (answered by Tatiana_Stebko)
There are 22 animals in the barn. Some are horses and some are chickens. There are 60... (answered by stanbon)
there are 13 animals in the barn.some are chicken some are pigs. there are 40 legs in... (answered by Simnepi,htmentor)
There are twenty-seven animals in a barn. Some are chickens some are cows. There are 90... (answered by solver91311,chungchengg,ikleyn)
There are 15 animals in the field. Some are sheep and some are chickens. There are 40... (answered by jim_thompson5910)
A farmer has 3 types of animals in his barn: chickens, cows and pigs. The farmer has 80... (answered by ikleyn,Edwin McCravy)
A Farmhouse shelters 10 animals. some are pigs and some are ducks. Altogether there are (answered by japunzalan13)