Average Error: 12.2 → 12.2
Time: 1.4m
Precision: 64
Internal Precision: 128
\[\frac{\sin ky}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}} \cdot \sin th\]
\[\sin ky \cdot \frac{\sin th}{\sqrt{\sin kx \cdot \sin kx + \sin ky \cdot \sin ky}}\]

Error

Bits error versus kx

Bits error versus ky

Bits error versus th

Derivation

  1. Initial program 12.2

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

    \[\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*12.3

    \[\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 pow112.3

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

    \[\leadsto \sin ky \cdot \left(\color{blue}{{\left(\frac{1}{\sqrt{{\left(\sin kx\right)}^{2} + {\left(\sin ky\right)}^{2}}}\right)}^{1}} \cdot {\left(\sin th\right)}^{1}\right)\]
  8. Applied pow-prod-down12.3

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

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

    \[\leadsto \sin ky \cdot \frac{\sin th}{\sqrt{\sin kx \cdot \sin kx + \sin ky \cdot \sin ky}}\]

Reproduce

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