a fasrmer has 46 animals.He has fewer 6 sheep than pigs. how many pigs does he have?
does he have only sheep and pigs??
pigs --- x
sheep --- x-6
solve
x + x-6 = 46
46-6=40
40 / 2 = 20
20+6= 26
To solve this problem, we can set up an equation. Let's represent the number of pigs as "x".
We are given that the farmer has 46 animals, and that he has 6 fewer sheep than pigs. Since we don't know the number of sheep, we'll represent it as "x - 6".
The total number of animals can be expressed as the sum of the number of pigs and the number of sheep:
x + (x - 6) = 46
Simplifying the equation, we combine like terms:
2x - 6 = 46
Next, we isolate the variable on one side of the equation.
Adding 6 to both sides of the equation:
2x = 46 + 6
2x = 52
Finally, we solve for x by dividing both sides of the equation by 2:
x = 52 / 2
x = 26
Therefore, the farmer has 26 pigs.