Quadratic Functions and Calculus