give me a 2 real life situations that use the concept of quadratic function