Which of the following is an example of a cost that varies in total as the number of units produced changes?
a. Salary of a production supervisor
b. Direct materials cost
c. Property taxes on factory buildings
d. Straight-line depreciation on factory equipment