a farmer saw some chickens and pigs in a field. he counted 60 heads and 176 legs. determine exactly how many chickens and pigs he saw.

Answer:
32 chickens and 28 pigs
Step-by-step explanation:
This is a solve the system question. Call C the number of chickens and P the number of pigs. Each chicken and each pig has one head so the first equation is:
[tex]C+P=60[/tex]
Each chicken has 2 legs and each pig has 4 legs so the second equation is:
[tex]2C+4P=176[/tex]
To solve by substitution, first rearrange the first equation to isolate C:
[tex]C=60-P[/tex]
Now substitute that into the second equation and solve for P:
[tex]2(60-P)+4P=176\\120-2P+4P=176\\2P=56\\P=28[/tex]
So there are 28 pigs. Now sub that into either of the original equations. I'll use the first:
[tex]C+28=60\\C=32[/tex]
There are 32 chickens.