Assignment:
A telephone company charges a fee of $29.99 per month for basic local service. A fee of $4.95 per month is added for customers wanting up to 500 minutes of long distance at $0.04 minute.
a. Write a cost function to determine the amount a customer with the local and long distance plans would be charged that is based on the number of long distance minutes used each month.
Provide complete and step by step solution for the question and show calculations and use formulas.