/* Do not change the names of these functions */

double f(double x) {
  return 8.0*x*x*x + 5.0*x - 1.0;
}

double fprime(double x) {
  return 24.0*x*x + 5.0;
}

