| Alternative 1 |
|---|
| Error | 10.2 |
|---|
| Cost | 872 |
|---|
\[\begin{array}{l}
t_0 := \frac{-x}{s}\\
\mathbf{if}\;t_0 \leq -5:\\
\;\;\;\;0.5\\
\mathbf{elif}\;t_0 \leq 0.5:\\
\;\;\;\;0.5 + \frac{x}{s} \cdot \left(\frac{x \cdot \left(\frac{x}{s} \cdot -0.020833333333333332\right)}{s} + 0.25\right)\\
\mathbf{else}:\\
\;\;\;\;\left(1 + \frac{s}{-x}\right) + -1\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 11.0 |
|---|
| Cost | 420 |
|---|
\[\begin{array}{l}
\mathbf{if}\;\frac{-x}{s} \leq 0.5:\\
\;\;\;\;0.5\\
\mathbf{else}:\\
\;\;\;\;\left(1 + \frac{s}{-x}\right) + -1\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 16.2 |
|---|
| Cost | 388 |
|---|
\[\begin{array}{l}
\mathbf{if}\;\frac{-x}{s} \leq -5:\\
\;\;\;\;0.5\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{2 - \frac{x}{s}}\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 16.6 |
|---|
| Cost | 324 |
|---|
\[\begin{array}{l}
\mathbf{if}\;\frac{-x}{s} \leq 0.5:\\
\;\;\;\;0.5\\
\mathbf{else}:\\
\;\;\;\;\frac{-1}{\frac{x}{s}}\\
\end{array}
\]
| Alternative 5 |
|---|
| Error | 17.1 |
|---|
| Cost | 228 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.00019999999494757503:\\
\;\;\;\;s \cdot \frac{-1}{x}\\
\mathbf{else}:\\
\;\;\;\;0.5\\
\end{array}
\]
| Alternative 6 |
|---|
| Error | 17.1 |
|---|
| Cost | 164 |
|---|
\[\begin{array}{l}
\mathbf{if}\;x \leq -0.00019999999494757503:\\
\;\;\;\;\frac{s}{x}\\
\mathbf{else}:\\
\;\;\;\;0.5\\
\end{array}
\]