Taking f ( x ) = x ^ 3 + 2 x ^ 2 + 10 x - 20
return 1 * pow ( x , 3 ) + 2 * x * x + 10 * x - 20 ; } static void Muller ( double a , double b , double c ) { int i ; double res ; for ( i = 0 ; ; ++ i ) {