bijx.solve_cubic

bijx.solve_cubic(a, b, c, d)[source]

Solve cubic equation ax³ + bx² + cx + d = 0 using Cardano’s formula.

Uses numerically stable computation for the real root.