
Benjamin S. answered 03/25/22
UCSD Physics graduate, experienced physics and math tutor
You will have to construct the equation yourself, here is how:
revenue = revenue (this is a good place to start)
now we know that profit = revenue - expenses so we can rearrange this equation to get revenue = expenses + profit. We can replace the right side of the equation with expenses + profit.
We also know that profit is just the price of the pigs times the number of pigs sold so we can replace the left side of the equation with price * (pigs sold).
Here is what we get:
price * (pigs sold) = expenses + profit
Just need to take into account that some of the pigs died so the pigs sold do not account for all pigs bought so:
price * (pigs bought - pigs died) = expenses + profit)
now plug in numbers:
price = 7
pigs bought is unknown so we can call it x
pigs died = 8
expenses = 189
profit = 19
7*(x-8) = 189+19
7*(x-8) = 208
(x-8) = 208/7
x = 208/7 +8
x = 37.71

Anthleyv L.
Well, I tried that, but unfortunately got it wrong it says the correct number of pigs originally bought was 21. What went wrong?03/27/22
Benjamin S.
he probably bought 38 pigs03/25/22