I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
COST (GBP)
this unit 5.62
sub units 6.12
+
0
MathsSpecialBesselK

K1

Modified Bessel function, third kind, order one.
Controller: CodeCogs

Dependents

Info

Interface

C++
Excel

Overview

Modified Bessel function, thirdkind, order one.

The modified Bessel function of the third kind (or Weber Function) is a linear combination of Bessel functions of the first and second kinds. These are called the Hankel functions of the first and second kinds, and are one of two types of functions known as Hankel functions. The other type of Hankel function is defined by a contour integral.

Let \inline x be a complex variable of \inline  \setminus \{0,\infty\} and let \inline \nu denote a parameter (independent of \inline x). The function Bessel K (noted \inline K_{\nu}) is defined by the following second order differential equation:

Although \inline 0 is a singularity, the initial conditions can be given by:

K1

 
doubleK1doublex )
Computes the modified Bessel function of the third kind of order one of the argument.

The range is partitioned into the two intervals [0,2] and [2, infinity]. Chebyshev polynomial expansions are employed in each interval.

Accuracy:

<pre> Relative error: domain # trials peak rms 0, 30 3300 8.9e-17 2.2e-17 0, 30 30000 1.2e-15 1.6e-16 </pre>

Example:

#include <stdio.h>
#include <codecogs/maths/special/bessel/k/k1.h>
 
int main()
{
for(double x=1; x<7; x+=1)
{
  double y=Maths::Special::Bessel::K::K1(x);
  printf("\n K1(%.1lf)=%lf", x,y);
}
return 0;
}

Output:

K1(1.0)=0.601907
K1(2.0)=0.139866
K1(3.0)=0.040156
K1(4.0)=0.012483
K1(5.0)=0.004045
K1(6.0)=0.001344

References:

Cephes Math Library Release 2.8: June, 2000

Parameters

xinput argument

Authors

Stephen L. Moshier. Copyright 1984, 1987, 2000
Documentation by Nick Owens
Source Code

Source code is available when you buy a Commercial licence.

Not a member, then Register with CodeCogs. Already a Member, then Login.


K1 Exp

 
doubleK1_expdoublex )
This function returns exponentially scaled modified Bessel function of the third kind of order one of the argument:

K1_exp(x) = exp(x) * K1(x).

Accuracy:

<pre> Relative error: arithmetic domain # trials peak rms IEEE 0, 30 30000 7.8e-16 1.2e-16 </pre>

Example:

#include <stdio.h>
#include <codecogs/maths/special/bessel/k/k1.h>
 
int main()
{
for(double x=1; x<7; x+=1)
{
  double y=Maths::Special::Bessel::K::K1_exp(x);
  printf("\n K1_exp(%.1lf)=%lf", x,y);
}
return 0;
}

Output:

K1_exp(1.0)=1.636153
K1_exp(2.0)=1.033477
K1_exp(3.0)=0.806563
K1_exp(4.0)=0.681576
K1_exp(5.0)=0.600274
K1_exp(6.0)=0.542176

References:

Cephes Math Library Release 2.8: June, 2000

Parameters

xinput argument

Authors

Stephen L. Moshier. Copyright 1984, 1987, 2000
Documentation by Nick Owens
Source Code

Source code is available when you buy a Commercial licence.

Not a member, then Register with CodeCogs. Already a Member, then Login.