This function evaluates the modified Bessel function of the first kind of order one.
BSI1 — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Generic: BSI1 (X)
Specific: The specific interface names are S_BSI1 and D_BSI1.
Single: BSI1 (X)
Double: The double precision function name is DBSI1.
The Bessel function I1(x) is defined to be
The argument should not be so close to zero that I1(x) ≈ x/2 underflows, nor so large in absolute value that e|x| and, therefore, I1(x) overflows.
Informational error
Type Code
2 1 The function underflows because the absolute value of X is too small.
In this example, I1(4.5) is computed and printed.
USE BSI1_INT
USE UMACH_INT
IMPLICIT NONE
! Declare variables
INTEGER NOUT
REAL VALUE, X
! Compute
X = 4.5
VALUE = BSI1(X)
! Print the results
CALL UMACH (2, NOUT)
WRITE (NOUT,99999) X, VALUE
99999 FORMAT (' BSI1(', F6.3, ') = ', F6.3)
END
BSI1( 4.500) = 15.389
PHONE: 713.784.3131 FAX:713.781.9260 |