Question Number 42287 by darwin last updated on 22/Aug/18
$${Your}\:{family}\:{will}\:{be}\:{attending}\:{a}\: \\ $$$${family}\:{reunion}\:{at}\:{a}\:{particular}\:{beach} \\ $$$${resort}.\:{To}\:{avoid}\:{hassle},\:{you}\:{consider} \\ $$$${renting}\:{a}\:{car}\:{that}\:{charges}\:{a}\:{flat}\:{rate} \\ $$$${of}\:{P}\mathrm{2}\:\mathrm{000}\:{plus}\:{P}\mathrm{150}\:{per}\:{kilometer}.\: \\ $$$${Write}\:{a}\:{piecewise}\:{function}\:{that}\: \\ $$$${model}\:{the}\:{situation}. \\ $$
Answered by tanmay.chaudhury50@gmail.com last updated on 22/Aug/18
$${expenditure}\:{E} \\ $$$${d}={distance}\:{in}\:{kilometer} \\ $$$${so}\:{eqn}\:{is} \\ $$$$\boldsymbol{{E}}=\boldsymbol{{P}}\mathrm{2000}+\boldsymbol{{d}}×\boldsymbol{{P}}\mathrm{150} \\ $$$$ \\ $$