Functions: linear, quadratic, exponential