Average Error: 16.7 → 8.5
Time: 1.6m
Precision: 64
Internal Precision: 3136
\[\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right)\]
\[\pi \cdot \ell - \frac{\frac{1}{F}}{\frac{\frac{F}{\ell}}{\pi} - \sqrt[3]{{\left(\pi \cdot \frac{1}{3}\right)}^{3}} \cdot \left(\ell \cdot F\right)}\]

Error

Bits error versus F

Bits error versus l

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 16.7

    \[\pi \cdot \ell - \frac{1}{F \cdot F} \cdot \tan \left(\pi \cdot \ell\right)\]
  2. Applied simplify16.5

    \[\leadsto \color{blue}{\pi \cdot \ell - \frac{\tan \left(\pi \cdot \ell\right)}{F \cdot F}}\]
  3. Using strategy rm
  4. Applied associate-/r*12.4

    \[\leadsto \pi \cdot \ell - \color{blue}{\frac{\frac{\tan \left(\pi \cdot \ell\right)}{F}}{F}}\]
  5. Using strategy rm
  6. Applied clear-num12.4

    \[\leadsto \pi \cdot \ell - \color{blue}{\frac{1}{\frac{F}{\frac{\tan \left(\pi \cdot \ell\right)}{F}}}}\]
  7. Taylor expanded around 0 31.1

    \[\leadsto \pi \cdot \ell - \frac{1}{\color{blue}{\frac{{F}^{2}}{\pi \cdot \ell} - \frac{1}{3} \cdot \left({F}^{2} \cdot \left(\pi \cdot \ell\right)\right)}}\]
  8. Applied simplify8.5

    \[\leadsto \color{blue}{\pi \cdot \ell - \frac{\frac{1}{F}}{\frac{\frac{F}{\ell}}{\pi} - \left(\pi \cdot \frac{1}{3}\right) \cdot \left(\ell \cdot F\right)}}\]
  9. Using strategy rm
  10. Applied add-cbrt-cube8.5

    \[\leadsto \pi \cdot \ell - \frac{\frac{1}{F}}{\frac{\frac{F}{\ell}}{\pi} - \color{blue}{\sqrt[3]{\left(\left(\pi \cdot \frac{1}{3}\right) \cdot \left(\pi \cdot \frac{1}{3}\right)\right) \cdot \left(\pi \cdot \frac{1}{3}\right)}} \cdot \left(\ell \cdot F\right)}\]
  11. Applied simplify8.5

    \[\leadsto \pi \cdot \ell - \frac{\frac{1}{F}}{\frac{\frac{F}{\ell}}{\pi} - \sqrt[3]{\color{blue}{{\left(\pi \cdot \frac{1}{3}\right)}^{3}}} \cdot \left(\ell \cdot F\right)}\]

Runtime

Time bar (total: 1.6m)Debug logProfile

herbie shell --seed 2019053 
(FPCore (F l)
  :name "VandenBroeck and Keller, Equation (6)"
  (- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))