kelvinBer0

Evaluates the Kelvin function of the first kind, ber, of order zero.

Synopsis

kelvinBer0 (x)

Required Arguments

float x (Input)
Argument for which the function value is desired.

Return Value

The Kelvin function of the first kind, ber, of order zero evaluated at x.

Description

The Kelvin function ber0(x) is defined to be J0(xe3π/4). The Bessel function J0(x) is defined

J0(x)=1ππ0cos(xsinθ)dθ

The function kelvinBer0 is based on the work of Burgoyne (1963).

Example

In this example, ber0(0.4) is evaluated.

from __future__ import print_function
from numpy import *
from pyimsl.math.kelvinBer0 import kelvinBer0

x = 0.4
ans = kelvinBer0(x)
print("ber0(0.4) = %f" % (ans))

Output

ber0(0.4) = 0.999600