Respuesta :
Answer:
Ahh! What a classic: Systems of Equations!
So, if you don't know what a system of equations is, its basically two equations with two variables combined into a system.
So, let x=# of pigs
And also, Let y=# of chickens
Let's make our first equation!
[tex]13=x+y[/tex]
This is because there are 13 animals in a barn.
So then, knowing that a pig has 4 legs and a chicken 2:
[tex]40=4x+2y[/tex]
This is because there are 40 legs in total, and we multiply the variable because that's how many legs each creature has.
So, here is our system!
[tex]\left \{ {{x+y=13} \atop {4x+2y=40}} \right.[/tex]
Through Substitution (the inputting of something instead of a variable):
[tex]x+y=13\\x=13-y[/tex]
Then, we input it into the next equation:
[tex]4(13-y)+2y=40\\52-4y+2y=40\\-2y=-12\\y=6[/tex]
This means that there are 6 chickens, and by inputting it into the first equation:
[tex]x+6=13\\x=7[/tex]
So there you have it!
FYI there are 6 chickens and 7 pigs.
Hope this helps!
P.S. Stay Safe!
Answer: i could figure out there were 7 pigs
Step-by-step explanation: