In order to gain popularity amongst high school students the local coffee shop is delivering coffee to sell at lunch. Below is a function that represents the prices of coffee where t is the days since January 10th.

Piecewise function
c(t) =
2; 1<= t<=3
2 +t; 3<= t<=4
5; t =>4

a. Which domain does the 4th day fit in?

b. Which domain does the 5th day fit in? How much would the coffee be?

c. What would be the cheapest day(s) to buy a coffee?

d. What is the most expensive day(s) to buy a coffee?

e. What is the value of c(3) - c(1)

The function is poorly defined. t=3 or 4 fits into two different parts.

(c) clearly 2 is the lowest cost

(e) c(3) is defined in two ways.

Fix your domain intervals. They cannot all be closed on both ends.