Average Error: 4.3 → 0.2
Time: 44.2s
Precision: 64
Internal Precision: 320
\[\frac{\sin ky}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}} \cdot \sin th\]
\[\frac{\sin th}{\frac{\sqrt{\left(\sin ky\right)^2 + \left(\sin kx\right)^2}^*}{\sin ky}}\]

Error

Bits error versus kx

Bits error versus ky

Bits error versus th

Derivation

  1. Initial program 4.3

    \[\frac{\sin ky}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}} \cdot \sin th\]
  2. Applied simplify2.8

    \[\leadsto \color{blue}{\frac{\sin th \cdot \sin ky}{\sqrt{\left(\sin ky\right)^2 + \left(\sin kx\right)^2}^*}}\]
  3. Using strategy rm
  4. Applied associate-/l*0.2

    \[\leadsto \color{blue}{\frac{\sin th}{\frac{\sqrt{\left(\sin ky\right)^2 + \left(\sin kx\right)^2}^*}{\sin ky}}}\]

Runtime

Time bar (total: 44.2s)Debug logProfile

herbie shell --seed '#(1071215679 2002590028 935158157 1944352234 2656991306 2955288481)' +o rules:numerics
(FPCore (kx ky th)
  :name "Toniolo and Linder, Equation (3b), real"
  (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)))