Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

All published worksheets from http://sagenb.org

Views: 168733
Image: ubuntu2004

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)