I once saw a function for generating successively more-precise square root approximations, $f(x) = \frac{1}{2} ({x + \frac{S}{x}})$ where S is the square for which we are trying to calculate $\sqrt S$. And the function works really well, generating an approximation of $\sqrt 2 \approx f^3(1) = \frac{577}{408} \approx 1.414215$.
This fascinated me, so I tried extending the same logic to further radicals, starting with cube roots.
My first guess was $f_2(x) = \frac{1}{3} ({x + \frac{S}{x}})$, but when I tried an approximation for $\sqrt[3] 3$, I got $\sqrt[3] 3 \approx f_2^2(1) = \frac{43}{36} \approx 1.194444$, which is a far cry from $\sqrt[3] 3 \approx Google(\sqrt[3] 3) \approx 1.44225$.
How can I extend this logic for $n^{a\over b}$ where $ b > 2$? Was I accurate all-along and just needed more iterations? Or is the presence of $\frac{1}{2}$ in $f(x) $ and in $n^\frac{1}{2}$ a coincidence?
Disclaimer: I am not educated in calculus.
Let me tell you how to differentiate a polynomial, multiply the exponent by the coefficint and reduce $1$ from the exponent.
For example, if $f(x)=5x^3+7$, then $f'(x)=15x^2$ [we multiplied $3$ by $5$ to get $15$, and we reduced $1$ from the exponent, it was $3$, then it became $2%$]. The $7$ just cancelled because it is a constant.
Another example, if $f(x)=x^5-8$, then $f'(x)=5x^4$ [we multipled 5 by the coefficient $1$ to get $5$, and we reduced 1 from the exponent, it was $5$, then it became $4$]. The $8$ is constant, so it is cancelled.
Now you want to approximate $^3\sqrt{3}$
This means you want to find a number, if you cube it you get $3$, therefore you want to solve the equation;
$x^3=3$ , moving all terms to the left we get $x^3-3=0$, denoting the left hand side by $f(x)$
You need to approximate the root of the equation $x^3-3=0$
Let $f(x)=x^3-3$, therefore $f'(x)=3x^2$ [as you know now]
Newtons methods for approximating root is:
$x_n=x_{n-1}-\frac{f(x_{n-1})}{f'(x_{n-1})}$, where $x_0$ is the initial guess,
Let $x_0=1.5$
$x_1=1.5-\frac{f(1.5)}{f'(1.5)}=1.5-\frac{1.5^3-3}{3\times1.5^2}=1.5-\frac{3.375-3}{3\times2.25}=1.5-\frac{0.375}{6.75}=1.44444$
Now you have $x_1=1.44444$, you can calculate $x_2$ in the same way;
$x_1=1.44444-\frac{f(1.44444)}{f'(1.44444)}=1.44444-\frac{1.44444^3-3}{3\times1.44444^2}=1.44444-\frac{3.01369-3}{3\times2.08641}=1.44444-\frac{0.01369}{6.25923}=1.44225$
Here it is a good approximation. if you see that it is not a good approximation, just find $x_3$ or $x_4$ or until you reach a good approximation.
Suppose you want to approximate $^7\sqrt{5}$ (the seventh root of five)
Then you want to find a number, if you raise it to the power $7$ you get $5$,
this means you want to solve the equation $x^7=5$ , moving terms to the left we get $x^7-5=0$
Now $f(x)=x^7-5$ and $f'(x)=7x^6$
Let the initial guess, $x_0=1.2$
So $x_1=1.2-\frac{f(1.2)}{f'(1.2)}=1.2-\frac{1.2^7-5}{7\times1.2^6}=1.26778$
Again, $x_2=1.26778-\frac{f(1.26778)}{f'(1.26778)}=1.26778-\frac{1.26778^7-5}{7\times1.26778^6}=1.2585$
Again, find $x_3,x_4,...$ unit you get a continent accuracy