1 #ifndef POLYNOM_SOLVER_H 2 #define POLYNOM_SOLVER_H 3 4 int solve_deg2(double a, double b, double c, double & x1, double & x2); 5 6 int solve_deg3(double a, double b, double c, double d, 7 double & x0, double & x1, double & x2); 8 9 int solve_deg4(double a, double b, double c, double d, double e, 10 double & x0, double & x1, double & x2, double & x3); 11 12 #endif // POLYNOM_SOLVER_H 13