This function evaluates the Kelvin function of the first kind, ber, of order one.
BER1 — Function value. (Output)
X — Argument for which the function value is desired. (Input)
Generic: BER1 (X)
Specific: The specific interface names are S_BER1 and D_BER1.
Single: BER1 (X)
Double: The double precision name is DBER1.
The Kelvin function ber1(x) is defined to be ℜJ1(xe3πi∕4). The Bessel function J1(x) is defined in BSJ1. Function BER1 is based on the work of Burgoyne (1963).
If |x| > 119, then NaN (not a number) is returned.
In this example, ber1(0.4) is computed and printed.
USE BER1_INT
USE UMACH_INT
IMPLICIT NONE
! Declare variables
INTEGER NOUT
REAL VALUE, X
! Compute
X = 0.4
VALUE = BER1(X)
! Print the results
CALL UMACH (2, NOUT)
WRITE (NOUT,99999) X, VALUE
99999 FORMAT (' BER1(', F6.3, ') = ', F6.3)
END
BER1( 0.400) = -0.144
PHONE: 713.784.3131 FAX:713.781.9260 |