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 \(\text{ber}_0(x)\) is defined to be \(\Re J_0(xe^{3\pi/4})\). The Bessel function \(J_0(x)\) is defined

\[J_0(x) = \tfrac{1}{\pi} \int_0^{\pi} \cos ( x \sin \theta) d \theta\]

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

Example

In this example, \(\text{ber}_0(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