[math-fun] Cubic equations, ellipses and hyperbolic functions