A farmer has a total of 23 pigs and chickens. The 23 animals have a total
of 60 legs. How many pigs and how many chickens does the farmer have?


Sagot :

Answer:

7 pigs, 16 chickens

Step-by-step explanation:

p= pigs, c= chickens, legs= 60, number of pigs & chickens= 23

System of Equations:

  • Equation 1: [tex]p+c=23[/tex] would be [tex]23-p=c[/tex]
  • Equation 2: [tex]4p+2c=60[/tex] for the legs

Then, use substitution & solve:

  • [tex]4p+2(23-p)=54\\4p+46-2p=54\\4p-2p=8\\2p=8\\p=7[/tex]

Now, plug [tex]p=7[/tex] back into [tex]23-p=c[/tex] to get c

  • [tex]23-p=c\\23-7=c\\c=16[/tex]

Answer: 7 pigs, 16 chickens or [tex]p=7[/tex] and [tex]c=16[/tex]

  • To check your work, plug those solutions back into the system.

------

(I hope that helps & good luck! <3)