Average Error: 15.1 → 0.4
Time: 28.0s
Precision: 64
Internal Precision: 1344
\[r \cdot \frac{\sin b}{\cos \left(a + b\right)}\]
\[\frac{r \cdot \sin b}{\cos a \cdot \cos b - \log \left(e^{\sin b \cdot \sin a}\right)}\]

Error

Bits error versus r

Bits error versus a

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 15.1

    \[r \cdot \frac{\sin b}{\cos \left(a + b\right)}\]
  2. Initial simplification15.1

    \[\leadsto \frac{r \cdot \sin b}{\cos \left(b + a\right)}\]
  3. Using strategy rm
  4. Applied cos-sum0.3

    \[\leadsto \frac{r \cdot \sin b}{\color{blue}{\cos b \cdot \cos a - \sin b \cdot \sin a}}\]
  5. Using strategy rm
  6. Applied add-log-exp0.4

    \[\leadsto \frac{r \cdot \sin b}{\cos b \cdot \cos a - \color{blue}{\log \left(e^{\sin b \cdot \sin a}\right)}}\]
  7. Final simplification0.4

    \[\leadsto \frac{r \cdot \sin b}{\cos a \cdot \cos b - \log \left(e^{\sin b \cdot \sin a}\right)}\]

Runtime

Time bar (total: 28.0s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0.40.40.10.30%
herbie shell --seed 2018263 
(FPCore (r a b)
  :name "r*sin(b)/cos(a+b), B"
  (* r (/ (sin b) (cos (+ a b)))))