how to know the rate of convergence here
i know the formula
where m is the convergence rate
but it doesnt help me here at all
See here for Newton's method. You can simply insert a counter in your for loop like:
i = i+1;
You'll find it converges very fast.