checking for resemblance of x3 with x2 till two decimal places
double m = res * 100 ; double n = c * 100 ; m = Math . Floor ( m ) ; n = Math . Floor ( n ) ; if ( m == n ) break ; a = b ; b = c ; c = res ; if ( i > MAX_ITERATIONS ) { Console . WriteLine ( " Root ▁ cannot ▁ be ▁ found ▁ using " + " ▁ Muller ' s ▁ method " ) ; break ; } } if ( i <= MAX_ITERATIONS ) Console . WriteLine ( " The ▁ value ▁ of ▁ the ▁ root ▁ is ▁ " + Math . Round ( res , 4 ) ) ; }