This function evaluates the hyperbolic sine integral.
SHI— function
value. (Output)
SHI equals
X — Argument for which the function value is desired. (Input)
Generic: SHI (X)
Specific: The specific interface names are S_SHI and D_SHI.
Single: SHI (X)
Double: The double precision function name is DSHI.
The hyperbolic sine integral, Shi(x), is defined to be
The argument x must be large enough that e−x/x does not underflow, and x must be small enough that ex does not overflow.
In this example, Shi(3.5) is computed and printed.
USE SHI_INT
USE UMACH_INT
IMPLICIT NONE
! Declare variables
INTEGER NOUT
REAL VALUE, X
! Compute
X = 3.5
VALUE = SHI(X)
! Print the results
CALL UMACH (2, NOUT)
WRITE (NOUT,99999) X, VALUE
99999 FORMAT (' SHI(', F6.3, ') = ', F6.3)
END
SHI( 3.500) = 6.966
PHONE: 713.784.3131 FAX:713.781.9260 |