Functions > Special Functions > Bessel Functions > Example: Bessel Functions of the First Kind
  
Example: Bessel Functions of the First Kind
Show the relationship between functions J0, J1, and Jn. Also show the relationships between these functions and their scaled versions.
1. Define two step range variables:
Click to copy this expression
Click to copy this expression
2. Plot functions J0 and J1. Add the 2nd order function Jn to the plot:
Click to copy this expression
Click to copy this expression
3. Create a plot to show that J0(y)=Jn(0,y). Reset the tick mark values to zoom in the x-axis in order to show more details:
Click to copy this expression
4. Create a plot to show that J1(y)=Jn(1,y). Reset the tick mark values to zoom in the x-axis in order to show more details:
Click to copy this expression
5. Use symbolic evaluation to show the relationship between each Bessel function of the first kind and its scaled version:
Click to copy this expression
Click to copy this expression
Click to copy this expression
6. Create a plot to show that:
Click to copy this expression
J0.sc contains complex elements, so first apply the Re function to just show the real part of the numbers.
Click to copy this expression
7. Calculate the coordinates of the first two peaks of J1. Use functions augment and localmax to identify the peaks that fall within the specified range:
Click to copy this expression
Click to copy this expression
Click to copy this expression
Function localmax requires an input matrix of two columns. Function augment is used to create such a matrix.
Click to copy this expression
Click to copy this expression
Click to copy this expression
Click to copy this expression
8. Use function match to find the horizontal coordinates of the peaks. Reduce the value of TOL to get the most accurate results:
Click to copy this expression
Click to copy this expression
Click to copy this expression
9. Add markers to the plot to mark the first two peaks:
The step range variable has a step of 0.1. This means that the peaks occur at 1/10 the element index identified by function match or 1.8 and 8.5 respectively.
Click to copy this expression
Click to copy this expression
Click to copy this expression