- Split input into 2 regimes
if i < 0.012732938788056236
Initial program 45.0
\[\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}}{(\left(i \cdot 4\right) \cdot i + \left(-1.0\right))_*}\]
if 0.012732938788056236 < i
Initial program 45.8
\[\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.1
\[\leadsto \frac{i \cdot \frac{i}{4}}{(\left(i \cdot 4\right) \cdot i + \left(-1.0\right))_*}\]
- Using strategy
rm Applied associate-/l*31.1
\[\leadsto \color{blue}{\frac{i}{\frac{(\left(i \cdot 4\right) \cdot i + \left(-1.0\right))_*}{\frac{i}{4}}}}\]
Taylor expanded around inf 0.4
\[\leadsto \color{blue}{0.015625 \cdot \frac{1}{{i}^{2}} + \left(\frac{1}{16} + 0.00390625 \cdot \frac{1}{{i}^{4}}\right)}\]
Simplified0.4
\[\leadsto \color{blue}{(\left(\frac{0.015625}{i}\right) \cdot \left(\frac{1}{i}\right) + \frac{1}{16})_* + \frac{0.00390625}{{i}^{4}}}\]
- Recombined 2 regimes into one program.
Final simplification0.2
\[\leadsto \begin{array}{l}
\mathbf{if}\;i \le 0.012732938788056236:\\
\;\;\;\;\frac{\frac{i}{4} \cdot i}{(\left(4 \cdot i\right) \cdot i + \left(-1.0\right))_*}\\
\mathbf{else}:\\
\;\;\;\;(\left(\frac{0.015625}{i}\right) \cdot \left(\frac{1}{i}\right) + \frac{1}{16})_* + \frac{0.00390625}{{i}^{4}}\\
\end{array}\]