This function evaluates the cosine Fresnel integral.
FRESC — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Generic: FRESC (X)
Specific: The specific interface names are S_FRESC and D_FRESC.
Single: FRESC (X)
Double: The double precision function name is DFRESC.
The cosine Fresnel integral is defined to be
All values of x are legal.
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
FRESC( 1.750) = 0.322
PHONE: 713.784.3131 FAX:713.781.9260 |