FRESC
This function evaluates the cosine Fresnel integral.
Function Return Value
FRESC — Function value. (Output)
Required Arguments
X — Argument for which the function value is desired. (Input)
FORTRAN 90 Interface
Generic: FRESC (X)
Specific: The specific interface names are S_FRESC and D_FRESC.
FORTRAN 77 Interface
Single: FRESC (X)
Double: The double precision function name is DFRESC.
Description
The cosine Fresnel integral is defined to be
All values of x are legal.
Example
In this example, C(1.75) is computed and printed.
USE FRESC_INT
USE UMACH_INT
IMPLICIT NONE
! Declare variables
INTEGER NOUT
REAL VALUE, X
! Compute
X = 1.75
VALUE = FRESC(X)
! Print the results
CALL UMACH (2, NOUT)
WRITE (NOUT,99999) X, VALUE
99999 FORMAT (' FRESC(', F6.3, ') = ', F6.3)
END
Output
FRESC( 1.750) = 0.322
Published date: 03/19/2020
Last modified date: 03/19/2020