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

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

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