This function evaluates the Bessel function of the second kind of order one.
BSY1 — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Generic: BSY1 (X)
Specific: The specific interface names are S_BSY1 and D_BSY1.
Single: BSY1 (X)
Double: The double precision function name is DBSY1.
The Bessel function Y1(x) is defined to be
Y1(x) is defined for x > 0. To prevent the answer from being less accurate than half precision, x should be smaller than
For the result to have any precision at all, |x| must be less than 1/ε. Here, ε is the machine precision, ε = AMACH(4).
In this example, Y1(3.0) is computed and printed.
USE BSY1_INT
USE UMACH_INT
IMPLICIT NONE
! Declare variables
INTEGER NOUT
REAL VALUE, X
! Compute
X = 3.0
VALUE = BSY1(X)
! Print the results
CALL UMACH (2, NOUT)
WRITE (NOUT,99999) X, VALUE
99999 FORMAT (' BSY1(', F6.3, ') = ', F6.3)
END
BSY1( 3.000) = 0.325
PHONE: 713.784.3131 FAX:713.781.9260 |