ok, I've got a problem I can't seem to figure out...
I need to find the nth root of x quickly. At the moment I'm stuck with going through all the combonations and usig trial and error, which obviously is extremely ineffecient.
I tried $root = pow($number,1/$power); and it works, but the numbers I'm using are too large and it causes some really bad innaccuracy.
I also tried the same thing using bcpow(); but for some reason it just returns 1 every time.
I would really appreciate your help if you know how to get it to work, I've been racking my brain all night now...lol