Average Error: 14.9 → 0.8
Time: 17.7s
Precision: 64
Internal Precision: 576
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\frac{\sqrt[3]{\frac{-1}{a} \cdot \frac{-1}{2}}}{\sqrt[3]{\frac{1}{g}}}\]

Error

Bits error versus g

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 14.9

    \[\sqrt[3]{\frac{g}{2 \cdot a}}\]
  2. Initial simplification14.9

    \[\leadsto \sqrt[3]{\frac{g}{a \cdot 2}}\]
  3. Using strategy rm
  4. Applied cbrt-div0.8

    \[\leadsto \color{blue}{\frac{\sqrt[3]{g}}{\sqrt[3]{a \cdot 2}}}\]
  5. Using strategy rm
  6. Applied clear-num0.9

    \[\leadsto \color{blue}{\frac{1}{\frac{\sqrt[3]{a \cdot 2}}{\sqrt[3]{g}}}}\]
  7. Taylor expanded around 0 48.3

    \[\leadsto \frac{1}{\color{blue}{e^{\frac{1}{3} \cdot \left(\log 2 + \log a\right)} \cdot {\left(\frac{1}{g}\right)}^{\frac{1}{3}}}}\]
  8. Simplified0.9

    \[\leadsto \frac{1}{\color{blue}{\sqrt[3]{\frac{1}{g}} \cdot \sqrt[3]{a \cdot 2}}}\]
  9. Taylor expanded around -inf 62.7

    \[\leadsto \color{blue}{\frac{e^{\frac{1}{3} \cdot \left(\log \left(\frac{-1}{a}\right) + \log \frac{-1}{2}\right)}}{e^{\frac{1}{3} \cdot \left(\log \left(\frac{-1}{g}\right) + \log -1\right)}}}\]
  10. Simplified0.8

    \[\leadsto \color{blue}{\frac{\sqrt[3]{\frac{-1}{a} \cdot \frac{-1}{2}}}{\sqrt[3]{\frac{-1}{g} \cdot -1}}}\]
  11. Final simplification0.8

    \[\leadsto \frac{\sqrt[3]{\frac{-1}{a} \cdot \frac{-1}{2}}}{\sqrt[3]{\frac{1}{g}}}\]

Runtime

Time bar (total: 17.7s)Debug logProfile

herbie shell --seed 2018254 +o rules:numerics
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))