Animation: The n-th root of x
43 days ago by lhjruo
Animation: The n-th Root of x with Different Values of n (the Degree of the Root)
Lauri Ruotsalainen, 2010
# Animation: The n-th Root of x with Different Values of n (the Degree of the Root)
# Lauri Ruotsalainen, 2010
v = []
G = Graphics()
H = Graphics()
for n in range(2, 13):
G += plot(x ^ (1 / n), [0, 3], hue=0.45 + 0.02 * n)
H = text(
"$y=\sqrt[%s]{x}$" % n, (0.7, 1.7),
hue=0.47 + 0.02 * n, fontsize=20
)
v.append(G + H)
animation = animate(v, ymax=2)
show(animation, delay=40)