title: How to fix Overflow: Math range error
body: <p>Whenever I enter in this code, I get an <code>OverflowError: math range error</code> at the 4th line. How do I fix it?</p>
  
  <pre><code>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
  </code></pre>