Whenever I enter in this code, I get an OverflowError: math range error
at the 4th line. How do I fix it?
x=0
while True:
x=int(x)+1
first_root=first_root-((a*(math.pow(first_root, 3)))+(b*(math.pow(first_root, 2))+(c*first_root)+d)/(3*(a* (math.pow(first_root, 2))))+(2*(b*first_root))+c)
if x==30:
break