I am looking for the simplest Cubic formula that I can use to find the three roots that a Cubic Equation should yield.
I have seen quite a few different approaches, some involving the "depression" of the equation into removing the quadratic term, but they have kind of lost me, as I'm not that competent in Math yet, or so I believe.
Anyway, in other words, this formula I'm looking for should be easy to code, not memorize, I do not plan on memorizing this formula to avoid other methods of solving.
I just think it may be the best way for a script to do it.
If you can give me the best formula you think for this scenario, that would be very helpful.
Also, if you believe a script is better off even avoiding this formula altogether, please suggest another idea.