calculate the root
Besides the suggested home-made functions, you could also try pow in the POSIX module.
In reply to Re: root function by igelkott in thread root function by Anonymous Monk