Computes the Fresnel cosine integral.
- x (Double)
- The argument.
The value of C(x).
The Fresnel cosine integral is defined as:

It appears in wave optics in the calculation of diffraction patterns.
The Fresnel cosine integral is defined as:

It appears in wave optics in the calculation of diffraction patterns.