a real life application of a linear function