Average Error: 3.9 → 4.0
Time: 22.9s
Precision: 64
Internal Precision: 576
\[\frac{\sin ky}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}} \cdot \sin th\]
\[\left(\frac{1}{\sqrt{{\left(\sin ky\right)}^{2} + {\left(\sin kx\right)}^{2}}} \cdot \sin ky\right) \cdot \sin th\]

Error

Bits error versus kx

Bits error versus ky

Bits error versus th

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 3.9

    \[\frac{\sin ky}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}} \cdot \sin th\]
  2. Using strategy rm
  3. Applied div-inv4.0

    \[\leadsto \color{blue}{\left(\sin ky \cdot \frac{1}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}}\right)} \cdot \sin th\]
  4. Applied associate-*l*4.1

    \[\leadsto \color{blue}{\sin ky \cdot \left(\frac{1}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}} \cdot \sin th\right)}\]
  5. Using strategy rm
  6. Applied associate-*r*4.0

    \[\leadsto \color{blue}{\left(\sin ky \cdot \frac{1}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}}\right) \cdot \sin th}\]
  7. Final simplification4.0

    \[\leadsto \left(\frac{1}{\sqrt{{\left(\sin ky\right)}^{2} + {\left(\sin kx\right)}^{2}}} \cdot \sin ky\right) \cdot \sin th\]

Runtime

Time bar (total: 22.9s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes4.04.02.71.40%
herbie shell --seed 2018340 
(FPCore (kx ky th)
  :name "Toniolo and Linder, Equation (3b), real"
  (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)))