\[1.99 \leq x \land x \leq 2.01\]
\[\cos x \cdot e^{10 \cdot \left(x \cdot x\right)}
\]
↓
\[{\left({\left(e^{20}\right)}^{x}\right)}^{\left(x \cdot 0.5\right)} \cdot \cos x
\]
(FPCore (x) :precision binary64 (* (cos x) (exp (* 10.0 (* x x)))))
↓
(FPCore (x) :precision binary64 (* (pow (pow (exp 20.0) x) (* x 0.5)) (cos x)))
double code(double x) {
return cos(x) * exp((10.0 * (x * x)));
}
↓
double code(double x) {
return pow(pow(exp(20.0), x), (x * 0.5)) * cos(x);
}
real(8) function code(x)
real(8), intent (in) :: x
code = cos(x) * exp((10.0d0 * (x * x)))
end function
↓
real(8) function code(x)
real(8), intent (in) :: x
code = ((exp(20.0d0) ** x) ** (x * 0.5d0)) * cos(x)
end function
public static double code(double x) {
return Math.cos(x) * Math.exp((10.0 * (x * x)));
}
↓
public static double code(double x) {
return Math.pow(Math.pow(Math.exp(20.0), x), (x * 0.5)) * Math.cos(x);
}
def code(x):
return math.cos(x) * math.exp((10.0 * (x * x)))
↓
def code(x):
return math.pow(math.pow(math.exp(20.0), x), (x * 0.5)) * math.cos(x)
function code(x)
return Float64(cos(x) * exp(Float64(10.0 * Float64(x * x))))
end
↓
function code(x)
return Float64(((exp(20.0) ^ x) ^ Float64(x * 0.5)) * cos(x))
end
function tmp = code(x)
tmp = cos(x) * exp((10.0 * (x * x)));
end
↓
function tmp = code(x)
tmp = ((exp(20.0) ^ x) ^ (x * 0.5)) * cos(x);
end
code[x_] := N[(N[Cos[x], $MachinePrecision] * N[Exp[N[(10.0 * N[(x * x), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
↓
code[x_] := N[(N[Power[N[Power[N[Exp[20.0], $MachinePrecision], x], $MachinePrecision], N[(x * 0.5), $MachinePrecision]], $MachinePrecision] * N[Cos[x], $MachinePrecision]), $MachinePrecision]
\cos x \cdot e^{10 \cdot \left(x \cdot x\right)}
↓
{\left({\left(e^{20}\right)}^{x}\right)}^{\left(x \cdot 0.5\right)} \cdot \cos x
Alternatives
| Alternative 1 |
|---|
| Error | 0.5 |
|---|
| Cost | 26048 |
|---|
\[\cos x \cdot {\left({\left(e^{20}\right)}^{\left(x \cdot 0.5\right)}\right)}^{x}
\]
| Alternative 2 |
|---|
| Error | 2.1 |
|---|
| Cost | 25920 |
|---|
\[\cos x \cdot {\left({\left(e^{x}\right)}^{x}\right)}^{10}
\]
| Alternative 3 |
|---|
| Error | 1.3 |
|---|
| Cost | 25920 |
|---|
\[\cos x \cdot {\left({\left(e^{10}\right)}^{x}\right)}^{x}
\]
| Alternative 4 |
|---|
| Error | 3.0 |
|---|
| Cost | 19840 |
|---|
\[\left(\left(\cos x + 1\right) + -1\right) \cdot {\left(e^{10}\right)}^{\left(x \cdot x\right)}
\]
| Alternative 5 |
|---|
| Error | 3.4 |
|---|
| Cost | 19584 |
|---|
\[\cos x \cdot {\left(e^{x}\right)}^{\left(x \cdot 10\right)}
\]
| Alternative 6 |
|---|
| Error | 3.2 |
|---|
| Cost | 19584 |
|---|
\[\cos x \cdot {\left(e^{x \cdot 10}\right)}^{x}
\]
| Alternative 7 |
|---|
| Error | 3.0 |
|---|
| Cost | 19584 |
|---|
\[\cos x \cdot {\left(e^{10}\right)}^{\left(x \cdot x\right)}
\]
| Alternative 8 |
|---|
| Error | 3.5 |
|---|
| Cost | 13248 |
|---|
\[\cos x \cdot e^{10 \cdot \left(x \cdot x\right)}
\]
| Alternative 9 |
|---|
| Error | 57.8 |
|---|
| Cost | 320 |
|---|
\[\left(x \cdot x\right) \cdot -0.5
\]
| Alternative 10 |
|---|
| Error | 63.0 |
|---|
| Cost | 64 |
|---|
\[1
\]