#include #include int main(){ double x1 = 1, x2; do { x2 = x1; x1 = x2 - (x1*x1*x1 + 4*x1*x1 - 8) / (2*x1*x1 + 8*x1); } while(fabs(x1-x2) > 1e-4); printf("%f", x1);}