I know the Sqr function, but how do i make a function which retrieves another root than the square root?

I tried searching the help files, but it doesn't seem that there's a built-in function to do the trick.

Anyone knows the algorithm?