Use discriminant of a quadratic function (#8)