bessel_j0

 

Description

Bessel function J0(x)

Syntax

double bessel_j0( double x )

Parameters

x
[input] the argument x of the function

Return

Returns the value of Bessel function J0(x)

Examples

EX1

void bessel_j0_ex1()
{
        double dx[6] = {0.5,1,3,6,8,10};
        double dResults[6];
        for(int ii = 0; ii<6 ; ii++)
        {
                dResults[ii] = bessel_j0(dx[ii]);
                printf("%lf:   %lf\n",dx[ii],dResults[ii]);
        }
}

Remark

See Also

bessel_j1

header to Include

origin.h

Reference