3 ms·
Why not use Newton’s method? Your computer is using numerical approximations for computing those roots anyway. The reason the cubic formula isn’t used is becaus
by chongli 7y ago
Why not use Newton’s method? Your computer is using numerical approximations for computing those roots anyway. The reason the cubic formula isn’t used is because it’s very convoluted and it doesn’t solve any problems you couldn’t solve with Newton’s method, unless you’re doing algebra and you need an exact solution.
- q_revert 7y agoexact analytical solutions are nice as a check against any numerical solutions imo. (checking the same calculations in multiple ways is handy for error catching ime)