Welcome to Westonci.ca, your ultimate destination for finding answers to a wide range of questions from experts. Join our platform to connect with experts ready to provide accurate answers to your questions in various fields. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

Once upon a time there was a farmer whose family raised pigs and chickens. If you counted 24 heads and 80 feet, how many chickens were there? How many pigs were there?

Sagot :

Answer:

Number of chickens = 8

Number of pigs = 16

Step-by-step explanation:

Let the pigs = p

Let the number of chickens = c

Number of heads = 24

p + c = 24 ----------------(I)

p= 24 - c

Number of feet = 80

Chicken has 2 legs and pig has 4 legs

4p + 2c = 80 --------------(II)

Substitute p = 24 - c in equation (II)

4*(24 - c) + 2c = 80

4*24 - 4*c + 2c = 80

96 - 4c + 2c = 80          {Combine like terms}

     96 - 2c = 80        {subtract 96 from both sides}

          -2c = 80 - 96

         -2c = -16          {Divide both sides by (-2)}

           c = -16/-2

          c = 8

Plugin c = 8 in equation (I)

p + 8 = 24

    p = 24 - 8

  p = 16