Quadratic function and graphs