Initial program 59.9
\[\frac{1}{x} - \frac{1}{\tan x}\]
Taylor expanded around 0 0.3
\[\leadsto \color{blue}{0.02222222222222222307030925492199457949027 \cdot {x}^{3} + \left(0.002116402116402116544841005563171165704262 \cdot {x}^{5} + 0.3333333333333333148296162562473909929395 \cdot x\right)}\]
Simplified0.3
\[\leadsto \color{blue}{\mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, x \cdot \left(0.3333333333333333148296162562473909929395 + \left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right)\right)}\]
- Using strategy
rm Applied flip3-+1.2
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, x \cdot \color{blue}{\frac{{0.3333333333333333148296162562473909929395}^{3} + {\left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right)}^{3}}{0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 + \left(\left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right) \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right) - 0.3333333333333333148296162562473909929395 \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right)\right)}}\right)\]
Applied associate-*r/1.1
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \color{blue}{\frac{x \cdot \left({0.3333333333333333148296162562473909929395}^{3} + {\left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right)}^{3}\right)}{0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 + \left(\left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right) \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right) - 0.3333333333333333148296162562473909929395 \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right)\right)}}\right)\]
Simplified0.3
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{\color{blue}{x \cdot \mathsf{fma}\left(0.3333333333333333148296162562473909929395, 0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395, \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right)\right)\right)}}{0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 + \left(\left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right) \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right) - 0.3333333333333333148296162562473909929395 \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right)\right)}\right)\]
- Using strategy
rm Applied associate-/l*0.0
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \color{blue}{\frac{x}{\frac{0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395 + \left(\left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right) \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right) - 0.3333333333333333148296162562473909929395 \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot x\right) \cdot x\right)\right)}{\mathsf{fma}\left(0.3333333333333333148296162562473909929395, 0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395, \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(\left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right) \cdot \left(0.02222222222222222307030925492199457949027 \cdot \left(x \cdot x\right)\right)\right)\right)}}}\right)\]
Simplified0.0
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{x}{\color{blue}{\frac{\mathsf{fma}\left(0.3333333333333333148296162562473909929395, 0.3333333333333333148296162562473909929395, \left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027 - 0.3333333333333333148296162562473909929395\right) \cdot \left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027\right)\right)}{\mathsf{fma}\left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027, \left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027\right) \cdot \left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027\right), \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right) \cdot 0.3333333333333333148296162562473909929395\right)}}}\right)\]
Final simplification0.0
\[\leadsto \mathsf{fma}\left(0.002116402116402116544841005563171165704262, {x}^{5}, \frac{x}{\frac{\mathsf{fma}\left(0.3333333333333333148296162562473909929395, 0.3333333333333333148296162562473909929395, \left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027 - 0.3333333333333333148296162562473909929395\right) \cdot \left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027\right)\right)}{\mathsf{fma}\left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027, \left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027\right) \cdot \left(\left(x \cdot x\right) \cdot 0.02222222222222222307030925492199457949027\right), 0.3333333333333333148296162562473909929395 \cdot \left(0.3333333333333333148296162562473909929395 \cdot 0.3333333333333333148296162562473909929395\right)\right)}}\right)\]