Green flag. Adjust the sliders "n" and "a". n-degree root a- number of the root
Added e^(ln(a)/n) for comparison. Seems accurate enough for me. (Also fixed initialisation bug (x) so that the script can be restarted with the GF; and tidied up the loop control for the Newton-Raphson iterations.)