SOLUTION: Farmer John makes a pig pen out of bales of straw. For one pig he needs 8 bales of straw. When he adds a pig he needs two more bales to make the pen big enough. I need a formula

Algebra.Com
Question 996934: Farmer John makes a pig pen out of bales of straw. For one pig he needs 8 bales of straw. When he adds a pig he needs two more bales to make the pen big enough. I need a formula to tell him how many bales of straw he will need for a given number of pigs.
Answer by Theo(13342)   (Show Source): You can put this solution on YOUR website!
you actually have a piecewise function.

y = 0 when x = 0
y = 2x + 6 when x >= 1

if he has no pigs, he doesn't need any.
if he has 1 pig he needs 8
if he has 2 pigs he need 10
if he has 3 pigs he needs 12
etc.






RELATED QUESTIONS

A farmer bought a number of pigs for $145. However, 8 of them died before he could sell... (answered by Theo,Edwin McCravy)
A farmer bought a number of pigs for $150. However, 8 of them died before he could sell... (answered by ikleyn,Edwin McCravy)
One horse costs $1000, one pig costs $200, and one chicken costs only $10. A farmer buys... (answered by user_dude2008,solver91311)
farmer ted goes to the auction each week and buys lots of hay bales. last week he bought... (answered by Boreal)
A farmer buys 100 animals for $100.00. The animals include at least one cow, one pig,... (answered by ptaylor)
A farmer buys 100 animals for $100.00. The animals include at least one cow, one pig,... (answered by josgarithmetic)
A farmer buys 100 animals for $100 total. The animals include at least 1 cow, 1 pig and (answered by ikleyn)
A farmer bought a number of pigs for $252. However, 7 of them died before he could sell... (answered by stanbon,JoelSchwartz)
A farmer bought a number of pigs for $210. However, 3 of them died before he could sell... (answered by Fombitz)