Solving Cubic Equations Online