Answer:
See below.
Step-by-step explanation:
cost = function of the number of half pounds you buy
Let n = number of half pounds you buy.
Let c = cost.
The cost function is
c = 5.99n
n is the independent variable. The number of half pounds you buy is any number you choose. Once you have a fixed number for n, then c depends on that number.
c is the dependent variable.