Quadratic and Cubic roots