I am working on a way to calculate the nth root of a number. However, I am having problems with the nth root of negative numbers.
Most people s
Either use one of the many complex number packages available on the Internet, or convert your number to a rectangular position on the Argand plane, rotate it the appropriate angle as given by the root, then read it out as a (real, imaginary) pair.