| Alternative 1 |
|---|
| Error | 1.1 |
|---|
| Cost | 16676 |
|---|
\[\begin{array}{l}
t_0 := \left(1 - maxCos\right) \cdot ux\\
\mathbf{if}\;\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \leq 0.9999998211860657:\\
\;\;\;\;\cos \left(uy \cdot \left(2 \cdot \pi\right)\right) \cdot \sqrt{\left(1 - ux\right) \cdot ux - \left(ux \cdot maxCos - ux\right)}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{2 \cdot t_0 - {t_0}^{2}}\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 1.2 |
|---|
| Cost | 16484 |
|---|
\[\begin{array}{l}
t_0 := \left(1 - maxCos\right) \cdot ux\\
\mathbf{if}\;\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \leq 0.9999998211860657:\\
\;\;\;\;\cos \left(uy \cdot \left(2 \cdot \pi\right)\right) \cdot \sqrt{ux \cdot \left(2 - ux\right)}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{2 \cdot t_0 - {t_0}^{2}}\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 0.3 |
|---|
| Cost | 10368 |
|---|
\[\begin{array}{l}
t_0 := ux - ux \cdot maxCos\\
\cos \left(uy \cdot \left(2 \cdot \pi\right)\right) \cdot \sqrt{t_0 \cdot 2 - t_0 \cdot t_0}
\end{array}
\]
| Alternative 4 |
|---|
| Error | 0.3 |
|---|
| Cost | 10176 |
|---|
\[\cos \left(2 \cdot \left(uy \cdot \pi\right)\right) \cdot \sqrt{\left(maxCos - 1\right) \cdot \left(ux \cdot \left(ux - \left(2 + maxCos \cdot ux\right)\right)\right)}
\]
| Alternative 5 |
|---|
| Error | 0.3 |
|---|
| Cost | 10176 |
|---|
\[\cos \left(uy \cdot \left(2 \cdot \pi\right)\right) \cdot \sqrt{\left(-2 - \left(maxCos \cdot ux - ux\right)\right) \cdot \left(ux \cdot \left(maxCos + -1\right)\right)}
\]
| Alternative 6 |
|---|
| Error | 3.3 |
|---|
| Cost | 9988 |
|---|
\[\begin{array}{l}
t_0 := \left(1 - maxCos\right) \cdot ux\\
\mathbf{if}\;uy \cdot 2 \leq 0.0020000000949949026:\\
\;\;\;\;\sqrt{2 \cdot t_0 - {t_0}^{2}}\\
\mathbf{else}:\\
\;\;\;\;\cos \left(\left(uy \cdot 2\right) \cdot \pi\right) \cdot \sqrt{2 \cdot ux}\\
\end{array}
\]
| Alternative 7 |
|---|
| Error | 6.5 |
|---|
| Cost | 6848 |
|---|
\[\begin{array}{l}
t_0 := \left(1 - maxCos\right) \cdot ux\\
\sqrt{2 \cdot t_0 - {t_0}^{2}}
\end{array}
\]
| Alternative 8 |
|---|
| Error | 6.5 |
|---|
| Cost | 3616 |
|---|
\[\sqrt{\left(2 + \left(maxCos \cdot ux - ux\right)\right) \cdot \left(\left(1 - maxCos\right) \cdot ux\right)}
\]
| Alternative 9 |
|---|
| Error | 6.8 |
|---|
| Cost | 3488 |
|---|
\[\sqrt{\left(ux - maxCos \cdot ux\right) \cdot \left(2 - ux\right)}
\]
| Alternative 10 |
|---|
| Error | 7.9 |
|---|
| Cost | 3360 |
|---|
\[\sqrt{ux \cdot \left(2 - ux\right)}
\]