calculating cubic root in python,(1 + math.cos(i)) ** (1 / 3.0)