- Split input into 2 regimes
if i < 226.96535516399638
Initial program 44.9
\[\frac{\frac{\left(i \cdot i\right) \cdot \left(i \cdot i\right)}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right)}}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right) - 1.0}\]
Initial simplification0.0
\[\leadsto \frac{i \cdot \frac{i}{4}}{i \cdot \left(4 \cdot i\right) - 1.0}\]
- Using strategy
rm Applied flip3--0.0
\[\leadsto \frac{i \cdot \frac{i}{4}}{\color{blue}{\frac{{\left(i \cdot \left(4 \cdot i\right)\right)}^{3} - {1.0}^{3}}{\left(i \cdot \left(4 \cdot i\right)\right) \cdot \left(i \cdot \left(4 \cdot i\right)\right) + \left(1.0 \cdot 1.0 + \left(i \cdot \left(4 \cdot i\right)\right) \cdot 1.0\right)}}}\]
if 226.96535516399638 < i
Initial program 46.7
\[\frac{\frac{\left(i \cdot i\right) \cdot \left(i \cdot i\right)}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right)}}{\left(2 \cdot i\right) \cdot \left(2 \cdot i\right) - 1.0}\]
Initial simplification31.5
\[\leadsto \frac{i \cdot \frac{i}{4}}{i \cdot \left(4 \cdot i\right) - 1.0}\]
Taylor expanded around inf 0.0
\[\leadsto \color{blue}{0.015625 \cdot \frac{1}{{i}^{2}} + \left(\frac{1}{16} + 0.00390625 \cdot \frac{1}{{i}^{4}}\right)}\]
Simplified0.0
\[\leadsto \color{blue}{\frac{\frac{0.015625}{i}}{i} + \left(\frac{1}{16} + \frac{0.00390625}{{i}^{4}}\right)}\]
- Recombined 2 regimes into one program.
Final simplification0.0
\[\leadsto \begin{array}{l}
\mathbf{if}\;i \le 226.96535516399638:\\
\;\;\;\;\frac{\frac{i}{4} \cdot i}{\frac{{\left(i \cdot \left(4 \cdot i\right)\right)}^{3} - {1.0}^{3}}{\left(i \cdot \left(4 \cdot i\right)\right) \cdot \left(i \cdot \left(4 \cdot i\right)\right) + \left(1.0 \cdot 1.0 + \left(i \cdot \left(4 \cdot i\right)\right) \cdot 1.0\right)}}\\
\mathbf{else}:\\
\;\;\;\;\left(\frac{0.00390625}{{i}^{4}} + \frac{1}{16}\right) + \frac{\frac{0.015625}{i}}{i}\\
\end{array}\]