Mathematica Bessel Approximations in Mathematica

AI Thread Summary
To approximate the sine function using Bessel functions, the discussion highlights the importance of correctly plotting the Bessel function of the first kind, denoted as BesselJ. The key point is that as the number of terms in the series increases, the coordinate at (0,1) should converge to (0,0), which indicates a proper approximation of the sine function. The formula for approximating a function f(x) using Bessel functions involves summing the products of Bessel functions evaluated at the positive zeros of J_n(x) and coefficients a_k, which are derived from integrating the product of f(x) and the Bessel function. Correctly implementing these equations is crucial for achieving the desired approximation.
Dustinsfl
Messages
2,217
Reaction score
5
How do I use the Bessel Function at different orders to approximate the sine function?

I am plotting $\sin\pi x$ against the BesselJ function. However, from the example I saw in class, as I increase the number of terms, the $(0,1)$ coordinate is pulled down to (0,0). This isn't happening for me so I am not entering in my BesselJ correct plotted. How would I do that?
 
Physics news on Phys.org
dwsmith said:
How do I use the Bessel Function at different orders to approximate the sine function?

I am plotting $\sin\pi x$ against the BesselJ function. However, from the example I saw in class, as I increase the number of terms, the $(0,1)$ coordinate is pulled down to (0,0). This isn't happening for me so I am not entering in my BesselJ correct plotted. How would I do that?

Let be $\lambda_{1},\ \lambda_{2},\ ... ,\ \lambda_{k}$ the positive zeroes of $J_{n}(x)$, being n a non negative integer. In that case, given an f(x), is...

$\displaystyle f(x) = \sum_{k=1}^{\infty} a_{k}\ J_{n} (\lambda_{k}\ x)$ (1)

... where...

$\displaystyle a_{k}= \frac{2}{J^{2}_{n+1} (\lambda_{k})} \ \int_{0}^{1} x\ f(x)\ J_{n} (\lambda_{k}\ x)\ dx$ (2)

Kind regards

$\chi$ $\sigma$
 

Similar threads

Replies
2
Views
1K
Replies
13
Views
2K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
5
Views
3K
Back
Top