#include <math.h> double f(double x) { return pow(x, 5) - 2.9 * pow(x, 3) + 6.5 * pow(x, 2) - 7 * x; }