3.5.2.5.27 Fresnel_c

Definition:

C = fresnel\_c(x) evaluates an approximation to the Fresnel Integral

C(x)=\int_0^x\cos \left( \frac \pi 2t^2\right)dt

The function is based on Chebyshev expansions.

For more information please review the s20adc function in the NAG document.

Parameters:

x (input, double)
The argument x of the function.
C (output, double)
Approximation of the Fresnel Integral