SHI

This function evaluates the hyperbolic sine integral.

Function Return Value

SHI— Function value. (Output)
SHI equals

 

Required Arguments

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

FORTRAN 90 Interface

Generic: SHI (X)

Specific: The specific interface names are S_SHI and D_SHI.

FORTRAN 77 Interface

Single: SHI (X)

Double: The double precision function name is DSHI.

Description

The hyperbolic sine integral, Shi(x), is defined to be

 

The argument x must be large enough that ex/x does not underflow, and x must be small enough that ex does not overflow.

Example

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

Output

 

SHI( 3.500) = 6.966