I'm looking for a bessel function in Java that matches the Excel function BESSELI, description provided:
Returns the modified Bessel function, which is equivalent to the Bessel function evaluated for purely imaginary arguments.
Syntax
*BESSELI(x,n)*
X is the value at which to evaluate the function.
N is the order of the Bessel ...
How do you plot a Bessel function (2d) of the 1st kind in Matlab?
...
In MATLAB how do you plot
f(r) = { 2*J1(a*r) / r }^2
where a = 2*pi
and J1 is Bessel function of the 1st kind
and r = sqrt(x^2 + y^2)
This should plot in 3D, i.e. kind of be like a bubble (not sure how to do this)
...
I have confronted an equation containing Bessel functions of the first type on one side and modified Bessel functions of the second type on the other. I want to know its exact solutions (values of u). The equation is as follows:
u*besselj(s-1,u)/besselj(s,u)=-w*besselK(s-1,w)/besselk(s,w)
where s is an arbitrary integer number, for ex...
Why are these two snippets of code giving two different results?
double sum = 1.0;
double xSqFour = x * x / 4;
for (int i = 48; i > 1; i-=2) {
sum = 1.0 + (xSqFour / ((i/2) * (i/2))) * sum;
}
return sum;
and
double sum = 1.0;
double xSqFour = x * x / 4;
for (int i = 24; i > 1; i--) {
...