Parametric cubic equation