\[\tan \left(x + \varepsilon\right) - \tan x\]
Test:
NMSE problem 3.3.2
Bits:
128 bits
Bits error versus x
Bits error versus eps
Time: 3.0 s
Input Error: 17.0
Output Error: 17.0
Log:
Profile: 🕒
\(\tan \left(x + \varepsilon\right) - \frac{1}{\cot x}\)
  1. Started with
    \[\tan \left(x + \varepsilon\right) - \tan x\]
    17.0
  2. Using strategy rm
    17.0
  3. Applied tan-cotan to get
    \[\tan \left(x + \varepsilon\right) - \color{red}{\tan x} \leadsto \tan \left(x + \varepsilon\right) - \color{blue}{\frac{1}{\cot x}}\]
    17.0

Original test:


(lambda ((x default) (eps default))
  #:name "NMSE problem 3.3.2"
  (- (tan (+ x eps)) (tan x))
  #:target
  (/ (sin eps) (* (cos x) (cos (+ x eps)))))