FRESNEL_COSINE Function

Evaluates the cosine Fresnel integral.

Usage

result = FRESNEL_COSINE(x)

Input Parameters

x—Argument for which the function value is desired.

Returned Value

result—The value of the cosine Fresnel integral evaluated at x.

Input Keywords

Double—If present and nonzero, double precision is used.

Discussion

The cosine Fresnel integral is defined to be:

 

Example

The Fresnel integral C(1.75) is evaluated.

PRINT, FRESNEL_COSINE(1.75)
; PV-WAVE prints: 0.321935