CodeCogs - A iteractive open source Numerical library in C/C++, with wrappers for .NET and Excel Welcome... Login
Site Map
shopping cart
OSX compatibleWindows compatibleLinux compatible
Search CodeCogs
Numerical Components
Worked Examples

Valid RSS

mathsspecialbesselj

J0

Available under GPL (Free) and Commercial licence
get a GPL licence
COST (GBP)
this unit 3.60
sub units 0.90
add a commercial licence to your cart
0
viewed 1767 times and licensed 20 times

Bessel function of the first kind, with order zero and exponential scaling.

Other modules that are used by this module. We add these to the cart for you whenever you add this module, unless you already own enough licences for them. Click for details
Controller: CodeCogs    Contact Controller

+View version details
Contents hide toc

Interface

#include <codecogs/maths/special/bessel/j/j0.h>

using namespace Maths::Special::Bessel::J;

double J0 (double x)
Bessel function of the first kind, with order zero and exponential scaling.
ExcelReal cc_J0 (Real x)
This function is available as a Microsoft Excel add-in.

Function Documentation

Add calculator to website or email
 
doubleJ0doublex )
Returns modified Bessel function of the first kind, with order zero.

The domain is divided into the intervals [0, 5] and [5, infinity]. In the first interval the following rational approximation is used:

(14)
\displaystyle (w-r_1^2)(w-r_2^2) \frac{P_3(w)}{Q_8(w)}
where w = x^2 and the two r's are roots of the function.

In the second interval, the Hankel asymptotic expansion is employed with two rational functions of degree 6/6 and 7/7.

See also Maths/Special/Bessel/J/J

Accuracy:
                       Absolute error:
 arithmetic   domain     # trials      peak         rms
    DEC       0, 30       10000       4.4e-17     6.3e-18
    IEEE      0, 30       60000       4.2e-16     1.1e-16
 

Example:
#include <stdio.h>
#include <codecogs/maths/special/bessel/j/j0.h>
int main()
{
 using namespace Maths::Special::Bessel::J;
  for(double x=0; x<6; x+=1)
  {
    double y=J0(x);
    printf("\n J0(%.1lf)=%lf", x,y);
  }
  return 0;
}

Output:
J0(0.0)=1.000000
J0(1.0)=0.765198
J0(2.0)=0.223891
J0(3.0)=-0.260052
J0(4.0)=-0.397150
J0(5.0)=-0.177597

References:
Cephes Math Library Release 2.8: June, 2000
Parameters:
xinput argument
Authors:
Stephen L. Moshier. Copyright 1984, 1987, 2000
Documentation by Will Bateman (August 2005)
Source Code:

You do not own any licences for this module.
To view or download source code you must get a GPL licence or buy a commercial licence.

buy now     get GPL     add to cart

For advanced download and development options Register with CodeCogs. Already a Member, then Login.


Page Comments

Format Excel Equations

  You must login to leave a messge


Last Modified: 18 Oct 07 @ 17:07     Page Rendered: 2008-11-21 00:01:32

Valid CSS!   Valid XHTML 1.0 Transitional