PHP Custom Function

Creating an Arbitrary-precision Nth Root of X Function in PHP

Submitted by Jay-Tanner on
This math utility function computes the real Nth root of X to any specified number of decimals. Above is the iteration equation evaluated by the function. It comes in handy for advanced scientific programming. The archive contains a demo program. The demo code below, should return: 5 root of 100 to 50 decimals =2.51188643150958011108503206779932739415851810078248 Here is a listing of the demo