Mang Ernesto works as a scented candle maker. He receives a * 5 points
base pay of P50 per day plus incentive depending on the number of
candles produced. He has to produce more than 200 pieces of candles to
earn #2 per candle. If the number of candles produced is from 100 to 200,
he will earn $1.50 per candle. He will then get P1 per candle if less than
100 candles are produced.
It can be illustrated by the piecewise function below.
How much pay will Mang Ernesto receive for two days if he was able to
produce 178 candles for day one and 215 candles for day two?
f(x) =
x + 50
1.5x +50
2x + 50
if x < 100
if 100 ≤ x ≤ 200
if x > 200