created all the functions for solving a quadratic function