Can you use something like this?

```
Math.pow(n, 1/root);
```

eg.

```
Math.pow(25, 1/2) == 5
```

### Related Contents:

- Calculate distance between two latitude-longitude points? (Haversine formula)
- How to determine if a point is in a 2D triangle? [closed]
- How to create the most compact mapping n → isprime(n) up to a limit N?
- Circle line-segment collision detection algorithm?
- Mapping two integers to one, in a unique and deterministic way
- Algorithm to find Largest prime factor of a number
- Is log(n!) = Θ(n·log(n))?
- Fast permutation -> number -> permutation mapping algorithms
- Algorithm to detect intersection of two rectangles?
- Least common multiple for 3 or more numbers
- What distribution do you get from this broken random shuffle?
- Sort points in clockwise order?
- Select k random elements from a list whose elements have weights
- Writing your own square root function
- Is it possible to express “t” variable from Cubic Bezier Curve equation?
- How do you calculate the average of a set of circular data? [closed]
- Precise subpixel line drawing algorithm (rasterization algorithm)
- Fast way to calculate n! mod m where m is prime?
- What is the fastest integer factorization algorithm?
- Why does this simple shuffle algorithm produce biased results?
- Mapping N-dimensional value to a point on Hilbert curve
- What’s a good algorithm to determine if an input is a perfect square? [duplicate]
- Computing set intersection in linear time?
- Floating Point Divider Hardware Implementation Details
- What’s the algorithm to calculate aspect ratio?
- Fastest algorithm for circle shift N sized array for M position
- Finding out nth fibonacci number for very large ‘n’
- Algorithm for finding similar images
- nᵗʰ ugly number
- How can I calculate the age of a person in year, month, days?
- Calculating the position of points in a circle
- Unsupervised clustering with unknown number of clusters
- Test if a number is fibonacci
- Two Rectangles intersection
- Fastest primality test
- How to express tetration function, for complex numbers
- Shortest distance between points algorithm
- Modulus power of big numbers
- 3D Least Squares Plane
- Circle-circle intersection points
- Location of highest density on a sphere
- How do I find a factorial? [closed]
- Calculating the shortest route between two points
- Determining if two line segments intersect? [duplicate]
- How to calculate the index (lexicographical order) when the combination is given
- How to find the smallest number with just 0 and 1 which is divided by a given number?
- Reverse complex 2D lookup table
- How do I determine whether my calculation of pi is accurate?
- Given Prime Number N, Compute the Next Prime?
- An inverse Fibonacci algorithm?