Average Error: 15.2 → 0.8
Time: 11.0s
Precision: 64
Internal Precision: 320
\[\sqrt[3]{\frac{g}{2 \cdot a}}\]
\[\sqrt[3]{\frac{\frac{1}{2}}{a}} \cdot \sqrt[3]{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 15.2

    \[\sqrt[3]{\frac{g}{2 \cdot a}}\]
  2. Using strategy rm
  3. Applied div-inv15.2

    \[\leadsto \sqrt[3]{\color{blue}{g \cdot \frac{1}{2 \cdot a}}}\]
  4. Applied cbrt-prod0.9

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

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

    \[\leadsto \sqrt[3]{g} \cdot \color{blue}{\left(\sqrt[3]{\frac{-1}{2}} \cdot \sqrt[3]{\frac{-1}{a}}\right)}\]
  7. Using strategy rm
  8. Applied cbrt-unprod0.8

    \[\leadsto \sqrt[3]{g} \cdot \color{blue}{\sqrt[3]{\frac{-1}{2} \cdot \frac{-1}{a}}}\]
  9. Simplified0.8

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

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

Runtime

Time bar (total: 11.0s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.80.80.10.80%
herbie shell --seed 2018295 
(FPCore (g a)
  :name "2-ancestry mixing, zero discriminant"
  (cbrt (/ g (* 2 a))))