This is a program to calculate the n-th root of any number.

This program uses the NEWTON_RAPTION_ITERATION method for calculation.

The general formula to find the n-th root of any number is :

*-------------------------------*

* (((n-1)/n)*x0) + (1/n)*(N/d) *

*-------------------------------*

where n =1,2,3............ (n-th root).

x0 is First approximate root.

N is The number whose n-th root is to be calculated.

and d = x0*x0*x0*...........n-1.

For Example you had to calculate the square root of 16, then

n=2 (square root)

N=16 (the number)