Average Error: 39.9 → 0.0
Time: 15.3s
Precision: 64
Internal Precision: 1344
\[\sqrt{\frac{e^{2 \cdot x} - 1}{e^{x} - 1}}\]
\[\sqrt{\frac{\left(e^{x} \cdot e^{x}\right) \cdot e^{x} + 1}{\left(1 - e^{x}\right) + e^{x} \cdot e^{x}}}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 39.9

    \[\sqrt{\frac{e^{2 \cdot x} - 1}{e^{x} - 1}}\]
  2. Initial simplification0.0

    \[\leadsto \sqrt{e^{x} + 1}\]
  3. Using strategy rm
  4. Applied flip3-+0.0

    \[\leadsto \sqrt{\color{blue}{\frac{{\left(e^{x}\right)}^{3} + {1}^{3}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}}\]
  5. Using strategy rm
  6. Applied unpow30.0

    \[\leadsto \sqrt{\frac{\color{blue}{\left(e^{x} \cdot e^{x}\right) \cdot e^{x}} + {1}^{3}}{e^{x} \cdot e^{x} + \left(1 \cdot 1 - e^{x} \cdot 1\right)}}\]
  7. Final simplification0.0

    \[\leadsto \sqrt{\frac{\left(e^{x} \cdot e^{x}\right) \cdot e^{x} + 1}{\left(1 - e^{x}\right) + e^{x} \cdot e^{x}}}\]

Runtime

Time bar (total: 15.3s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.00.00.00.0100%
herbie shell --seed 2018340 +o rules:numerics
(FPCore (x)
  :name "sqrtexp (problem 3.4.4)"
  (sqrt (/ (- (exp (* 2 x)) 1) (- (exp x) 1))))