Roots of a cubic function 1