Double integration of functions involving bessel functions and cosines/sines

Click For Summary
SUMMARY

The discussion focuses on the challenges of computing double integrals involving Bessel functions and sinusoidal functions using Maple and MATLAB. The specific integral in question is defined as "((((besselj(const1,const2)./besselk(const1,const2)).*besselk(const1,const1*r/const3).*cos(const*(phi))).*conj((besselj(const2,(kpaa2/a).*(r)).*cos(const2*(phi))))).*r)" over the ranges 0 ≤ φ ≤ 2π and 0 ≤ r ≤ 125e-6. Users report inaccuracies in the results, with one instance yielding a value of -129 instead of zero, indicating limitations in numerical integration accuracy. The conclusion emphasizes the necessity of custom programming for improved precision.

PREREQUISITES
  • Familiarity with Bessel functions, specifically besselj and besselk
  • Understanding of double integrals and numerical integration techniques
  • Experience with Maple and MATLAB for mathematical computations
  • Knowledge of complex conjugates and their application in integrals
NEXT STEPS
  • Explore advanced numerical integration techniques in Maple
  • Learn how to implement custom numerical integration algorithms in MATLAB
  • Investigate the properties of Bessel functions and their applications in physics
  • Study error analysis in numerical computations to understand precision limitations
USEFUL FOR

Mathematicians, physicists, and engineers who require precise numerical integration of complex functions, particularly those involving Bessel functions and sinusoidal components.

moonkhan
Messages
2
Reaction score
0
Can we integrate double integrals involving bessel functions and sinusoids in maple. Also, the overlap of sine and cosine over the range of 0 to 2 * Pi must be exactly zero, but, in maple, it gives some value (of the order of -129). Is there any software, which can compute the exact double integral.
The function i am trying to integrate numerically (please correct me if i am doing rigth by solving numerically):

"((((besselj(const1,const2)./besselk(const1,const2)).*besselk(const1,const1*r/const3).*cos(const*(phi))).*conj((besselj(const2,(kpaa2/a).*(r)).*cos(const2*(phi))))).*r)"
with 0<=phi>=2*Pi, and 0<=r>=125e-6.

I tried with matlab's builtin functions, but the same problem of accuracy.

Thanks in advance.
Moon
 
Last edited by a moderator:
Physics news on Phys.org
You cannot expect that you have a zero error margin with a calculation in a computer. ##-129## is already pretty low and you will have to write your own program if you want to do better. In the end it always will be a compromise, since a computer is a discrete machine and you want to use it for calculations with real, i.e. infinitely long numbers.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K