| Alternative 1 |
|---|
| Error | 0.3 |
|---|
| Cost | 7432 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.031:\\
\;\;\;\;\frac{\frac{1}{x} + \cos x \cdot \frac{-1}{x}}{x}\\
\mathbf{elif}\;x \leq 0.034:\\
\;\;\;\;0.5 + \left(x \cdot \left(x \cdot -0.041666666666666664\right) + 0.001388888888888889 \cdot {x}^{4}\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{-1}{x}}{\frac{x}{\cos x + -1}}\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 0.4 |
|---|
| Cost | 7240 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.0053:\\
\;\;\;\;\left(\cos x + -1\right) \cdot \frac{-1}{x \cdot x}\\
\mathbf{elif}\;x \leq 0.0052:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{x} \cdot \frac{1 - \cos x}{x}\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 0.4 |
|---|
| Cost | 7240 |
|---|
\[\begin{array}{l}
t_0 := \cos x + -1\\
\mathbf{if}\;x \leq -0.0053:\\
\;\;\;\;t_0 \cdot \frac{-1}{x \cdot x}\\
\mathbf{elif}\;x \leq 0.0052:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{-1}{x} \cdot t_0}{x}\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 0.4 |
|---|
| Cost | 7240 |
|---|
\[\begin{array}{l}
t_0 := \cos x + -1\\
\mathbf{if}\;x \leq -0.0053:\\
\;\;\;\;t_0 \cdot \frac{-1}{x \cdot x}\\
\mathbf{elif}\;x \leq 0.0052:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{-1}{x}}{\frac{x}{t_0}}\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 0.3 |
|---|
| Cost | 7240 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.0048:\\
\;\;\;\;\frac{\frac{1}{x} + \cos x \cdot \frac{-1}{x}}{x}\\
\mathbf{elif}\;x \leq 0.0052:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{-1}{x}}{\frac{x}{\cos x + -1}}\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 0.5 |
|---|
| Cost | 7113 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.0053 \lor \neg \left(x \leq 0.0052\right):\\
\;\;\;\;\frac{1 - \cos x}{x \cdot x}\\
\mathbf{else}:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\end{array}
\]
| Alternative 7 |
|---|
| Error | 0.4 |
|---|
| Cost | 7112 |
|---|
\[\begin{array}{l}
t_0 := 1 - \cos x\\
\mathbf{if}\;x \leq -0.0053:\\
\;\;\;\;\frac{t_0}{x \cdot x}\\
\mathbf{elif}\;x \leq 0.0052:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{t_0}{x}}{x}\\
\end{array}
\]
| Alternative 8 |
|---|
| Error | 0.4 |
|---|
| Cost | 7112 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.0053:\\
\;\;\;\;\left(\cos x + -1\right) \cdot \frac{-1}{x \cdot x}\\
\mathbf{elif}\;x \leq 0.0052:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{1 - \cos x}{x}}{x}\\
\end{array}
\]
| Alternative 9 |
|---|
| Error | 13.7 |
|---|
| Cost | 1097 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -2 \lor \neg \left(x \leq 2.1\right):\\
\;\;\;\;\frac{\frac{1}{0.16666666666666666 + \frac{2}{x \cdot x}}}{x \cdot x}\\
\mathbf{else}:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\end{array}
\]
| Alternative 10 |
|---|
| Error | 15.4 |
|---|
| Cost | 841 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -3.2 \lor \neg \left(x \leq 3.2\right):\\
\;\;\;\;x \cdot \frac{x \cdot 0.5}{x \cdot x}\\
\mathbf{else}:\\
\;\;\;\;0.5 + -0.041666666666666664 \cdot \left(x \cdot x\right)\\
\end{array}
\]