Questions tagged [bessel-functions]

The bessel functions in mathematics are the canonical solutions of Bessel's differential equation for an arbitrary complex number.

The bessel functions in mathematics are the canonical solutions of Bessel's differential equation for an arbitrary complex number. The bessel functions can be applied in programming in various cases - when calculating pressure amplitudes, waves and vibrations, free particle and floating body dynamics, and many others.

107 questions
0
votes
0 answers

Using Bessel function in a shader in Unity

I'm trying to access Bessel function J0 in a shader in Unity. I haven't found any built-in function that does the job. I have calculated 10 000 points of the J0 via python and stored them in a .txt But I don't have any idea how to deal with it.
0
votes
0 answers

Calculation dimensionless time function thermal coductivity?

Currently I am trying to do some experiments to try to determine thermal conductivity of my fluid which is ethanol. To do so, I need to use the principle of TPS method which correspond to the kind of sensor I have. I would like to plot on python…
Rosa
  • 1
0
votes
0 answers

Adding besselJ() function in R

I am trying to plot a besselJ() function of order 0 (nu = 0) for x = 0 to x = 20 in R (working in RStudio). Here is my current code: plot ( x = NULL, xlim = c(0, 20), ylim = c(-0.4, 1), main = "Plot of Bessel functions", xlab = "x", ylab…
Dragon-Ash
  • 71
  • 1
  • 1
  • 9
0
votes
1 answer

Reimplementing Bessel Function in Fortran Function Causing Infinite Looping

So as an assignment I was given the task to write a function that when given an x, calculates the corresponding first order Bessel function from it. The equation is as follows: https://youtu.be/vBOYr3m2M8E?t=48 (sorry don't have enough reputation to…
badejayo
  • 15
  • 5
0
votes
0 answers

How to use a Tensorflow (python) custom layer with only one trainable variable?

I am looking for a way to add a custom layer to my TensorFlow (python) model. This layer should consist of one trainable variable delta. This variable has to be used as an argument of the bessel function special.jn(n, delta). Let input_vector be the…
0
votes
2 answers

Why does Bessel function in Scipy and EXCEL give different results?

I tried to use Scipy and EXCEL to calculate Bessel function, but they give different results. Do you know why? Thanks in advance. Python code: import scipy.special as ss result = ss.k1(0.2155481626213) print(result) EXCEL (I use the OneDrive…
aura
  • 383
  • 7
  • 24
0
votes
1 answer

Spherical Bessel Functions causing "invalid __array_struct__"

I'm trying to calculate the differential cross section(function of and angle and the "order" l) in a scattering problem. I would like to do this for different values of l and plot the cross section. I think that the division of the Bessel functions…
0
votes
0 answers

Fortran errors - Complex argument bessel function

I have been having some trouble getting some fortran code I was given working. This code uses an external library, NUMERICAL_LIBRARIES, by Rogue Wave in order to implement a bessel function with complex argument. I have attempted to contact Rogue…
0
votes
1 answer

Solve equation Matlab

Hy can anyone can tell me how i can solve this equation 2xJ1(x) − J0(x) = 0 where J1 and J0 are the Bessel function in Matlab without using the fsolve command
alex
  • 1
  • 1
0
votes
0 answers

Getting Inf or 0.0 values when calling Bessel library function in Java

At some point in my code I need to calculate the modified Bessel of the first kind of order n=1000, but I'm getting whether Inf or 0.0 values when calling the jdistlib.math.Bessel library in java. knowing that my input values are in the range of…
h_enn
  • 1
0
votes
1 answer

Polar plot in Matplotlib by mapping into Cartesian coordinate

I have a variable (P) which is a function of angle (theta): In this equation the K is a constant, theta_p is equal to zero and I is the modified Bessel function of the first kind (order 0) which is defined as: Now, I want to plot the P versus…
Leo
  • 479
  • 2
  • 6
  • 16
0
votes
1 answer

How to compute the Bessel function in MATLAB?

I want to compute the Bessel function of the first kind in MATLAB. J0 = First kind zero order. J1: There is nothing mentioned what is J1 in the article. But wikipidea says: The series indicates that −J1(x) is the derivative of J0(x). What is J1 and…
alluri
  • 55
  • 1
  • 8
0
votes
1 answer

Is there a specific R function for the derivative of modified Bessel function of the second kind?

My problem is as it says in the title, I am trying to use the derivative (with respect to v) of the modified Bessel function of the second kind K_v(x) but with no success. I read in one of the documentation that besselDK(v,x) would work as a…
14thTimeLord
  • 363
  • 1
  • 14
0
votes
0 answers

Modified Bessel function with Infinite sum in R

I am trying to implement the following formula in R where r0, t, theta0 and alpha are constants. Also, I is a Modified Bessel function of the first kind. My issue, I suppose, is from the Sum term to the end of the formula. I set n = 150 given that…
Jeremi
  • 11
  • 2
0
votes
0 answers

error: ‘cyl_bessel_j’ is not a member of ‘std’

I am using Visual studio (1.31.1) on Linux for C++ programing with g++ compiler (g++ (Ubuntu 8.2.0-7ubuntu1) 8.2.0) and have the following error when using the bessel function: error: ‘cyl_bessel_j’ is not a member of ‘std’ Here is the code I am…