Quadratic function calculator with vertex