203k views
3 votes
A farmer raises pigs and chickens. The farmer has 220 animals with a total of 700 legs. How many pigs does the farmer have?

User Cagdas
by
7.3k points

1 Answer

2 votes

Final answer:

To find the number of pigs, we can set up a system of equations and solve them using the substitution method. The farmer has 130 pigs.

Step-by-step explanation:

To solve this problem, we can set up a system of equations using the information given. Let's use the variables P and C to represent the number of pigs and chickens, respectively.

From the given information, we know that the total number of animals is 220:

P + C = 220

We also know that the total number of legs is 700:

4P + 2C = 700

To find the number of pigs, we need to solve this system of equations. Let's use the substitution method:

From the first equation, we can express C in terms of P:

C = 220 - P

Substituting this expression into the second equation:

4P + 2(220 - P) = 700

Simplifying the equation:

4P + 440 - 2P = 700

Combining like terms:

2P + 440 = 700

Subtracting 440 from both sides:

2P = 260

Dividing both sides by 2:

P = 130

So, the farmer has 130 pigs.

User Michael Balint
by
7.4k points