quadratic functions in real-world scenarios