Average Error: 30.5 → 30.5
Time: 8.3s
Precision: binary64
\[{\left(\left(\sin x \cdot \cos \left({x}^{2}\right)\right) \cdot \tan \left({x}^{3}\right)\right)}^{4}\]
\[{\left(\left(\sin x \cdot \cos \left({x}^{2}\right)\right) \cdot \tan \left({x}^{3}\right)\right)}^{4}\]
{\left(\left(\sin x \cdot \cos \left({x}^{2}\right)\right) \cdot \tan \left({x}^{3}\right)\right)}^{4}
{\left(\left(\sin x \cdot \cos \left({x}^{2}\right)\right) \cdot \tan \left({x}^{3}\right)\right)}^{4}
double code(double x) {
	return ((double) pow(((double) (((double) (((double) sin(x)) * ((double) cos(((double) pow(x, 2.0)))))) * ((double) tan(((double) pow(x, 3.0)))))), 4.0));
}
double code(double x) {
	return ((double) pow(((double) (((double) (((double) sin(x)) * ((double) cos(((double) pow(x, 2.0)))))) * ((double) tan(((double) pow(x, 3.0)))))), 4.0));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 30.5

    \[{\left(\left(\sin x \cdot \cos \left({x}^{2}\right)\right) \cdot \tan \left({x}^{3}\right)\right)}^{4}\]
  2. Final simplification30.5

    \[\leadsto {\left(\left(\sin x \cdot \cos \left({x}^{2}\right)\right) \cdot \tan \left({x}^{3}\right)\right)}^{4}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(pow (* (* (sin x) (cos (pow x 2))) (tan (pow x 3))) 4)"
  :precision binary64
  (pow (* (* (sin x) (cos (pow x 2.0))) (tan (pow x 3.0))) 4.0))