Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Super Root by Moff
def super_root(n):
f = lambda a: a ** a - n
x, dx = 0, 1
while abs(f(x)) > 1e-3:
if f(x) * f(x + dx) > 0:
x += dx
else:
dx /= 2
x -= dx
return x
Aug. 8, 2015