Projectile Motion and Quadratic Functions