I've finished coding the equations for quartic and cubic polynomials, but I'm running into an issue during execution of the code since the equation calculates a complex value. I have a class that I found online for using complex numbers, but I'm not exactly sure how to implement it in the script to actually return the roots in terms of (i) for those that are imaginary. The code for the cubic equation is where I've narrowed down my results to (by use of adding to CustomData and throwing...
[SOLVED] Help implementing complex numbers
[SOLVED] Help implementing complex numbers