FRESS

This function evaluates the sine Fresnel integral.

Function Return Value

FRESS — Function value. (Output)

Required Arguments

X — Argument for which the function value is desired. (Input)

FORTRAN 90 Interface

Generic: FRESS (X)

Specific: The specific interface names are S_FRESS and D_FRESS.

FORTRAN 77 Interface

Single: FRESS (X)

Double: The double precision function name is DFRESS.

Description

The sine Fresnel integral is defined to be

 

All values of x are legal.

Example

In this example, S(1.75) is computed and printed.

 

USE FRESS_INT

USE UMACH_INT

 

IMPLICIT NONE

! Declare variables

INTEGER NOUT

REAL VALUE, X

! Compute

X = 1.75

VALUE = FRESS(X)

! Print the results

CALL UMACH (2, NOUT)

WRITE (NOUT,99999) X, VALUE

99999 FORMAT (' FRESS(', F6.3, ') = ', F6.3)

END

Output

 

FRESS( 1.750) = 0.499