I evaluate the Fresnel Cosine with the following code:
syms tdouble(int(cos(pi/2*t^2), t, -inf, 0))
returns
-0.500
which is incorrect.
However, evaluating
double(int(cos(pi/2*t^2), t, -10000, 0))
returns
0.500
returns the correct result.
Best Answer