\[\frac{x - \sin x}{x - \tan x}\]
Test:
NMSE problem 3.4.5
Bits:
128 bits
Bits error versus
x
Time:
6.3 s
Input Error:
62.7
Output Error:
0.2
Log:
⚲
Profile:
🕒
\(\frac{9}{40} \cdot {x}^2 - \left(\frac{27}{2800} \cdot {x}^{4} + \frac{1}{2}\right)\)
Started with
\[\frac{x - \sin x}{x - \tan x}\]
62.7
Applied
taylor
to get
\[\frac{x - \sin x}{x - \tan x} \leadsto \frac{9}{40} \cdot {x}^2 - \left(\frac{27}{2800} \cdot {x}^{4} + \frac{1}{2}\right)\]
0.2
Taylor expanded around 0 to get
\[\color{red}{\frac{9}{40} \cdot {x}^2 - \left(\frac{27}{2800} \cdot {x}^{4} + \frac{1}{2}\right)} \leadsto \color{blue}{\frac{9}{40} \cdot {x}^2 - \left(\frac{27}{2800} \cdot {x}^{4} + \frac{1}{2}\right)}\]
0.2
Original test:
(lambda ((x default)) #:name "NMSE problem 3.4.5" (/ (- x (sin x)) (- x (tan x))))