Cost function and use Cost volume Profit analysis

Discuss why managers estimate a cost function and use Cost volume Profit analysis? Give numerical example of cost function and Cost Volume Profit Analysis and analyze how it will be used by managers?