Incorporate axis symmetric case

In summary: BesselY[n, x] == 0, {x, n + 3}], {n, 0, 5}];In summary, to get the $\mathcal{J}_0$ and $\mathcal{Y}_0$, the code needs to be altered by changing the range of n in the inits and zeros tables from 1-5 to 0-5. This allows the code to pick up those orders.
  • #1
Dustinsfl
2,281
5
With this code, I can't look at the $\mathcal{J}_0$ or $\mathcal{Y}_0$. How can I altered to to pick up those orders?

Code:
ClearAll["Global'*"];
inits = Table[
   FindRoot[
    BesselJ[n, x]*BesselY[n, 2*x] - BesselJ[n, 2*x]*BesselY[n, x] == 
     0, {x, n + 3}], {n, 1, 5}];
g1 = x /. inits

zeros = Table[
   FindRoot[
    BesselJ[n, x]*BesselY[n, 2*x] - BesselJ[n, 2*x]*BesselY[n, x] == 
     0, {x, g1[[n]] + (m - 1) Pi}], {m, 1, 5}, {n, 1, 5}];
g = x /. zeros;
g // TableForm

x = r Cos[t]; y = r Sin[t];
m = 2; n = 2;
ParametricPlot3D[{x, 
  y, (BesselJ[n, g[[m, n]]*r]*BesselY[n, 2*g[[m, n]]*r] - 
     BesselJ[n, 2*g[[m, n]]*r]*BesselY[n, g[[m, n]]*r]) Cos[n t]}, {r,
   0, 1}, {t, 0, 2 Pi}]
 
Physics news on Phys.org
  • #2
To get the $\mathcal{J}_0$ and $\mathcal{Y}_0$ you need to alter the code as follows: ClearAll["Global'*"];inits = Table[ FindRoot[ BesselJ[n, x]*BesselY[n, 2*x] - BesselJ[n, 2*x]*BesselY[n, x] == 0, {x, n + 3}], {n, 0, 5}];g1 = x /. initszeros = Table[ FindRoot[ BesselJ[n, x]*BesselY[n, 2*x] - BesselJ[n, 2*x]*BesselY[n, x] == 0, {x, g1[[n]] + (m - 1) Pi}], {m, 1, 5}, {n, 0, 5}];g = x /. zeros;g // TableFormx = r Cos[t]; y = r Sin[t];m = 2; n = 2;ParametricPlot3D[{x, y, (BesselJ[n, g[[m, n]]*r]*BesselY[n, 2*g[[m, n]]*r] - BesselJ[n, 2*g[[m, n]]*r]*BesselY[n, g[[m, n]]*r]) Cos[n t]}, {r, 0, 1}, {t, 0, 2 Pi}] The key change is changing the line that reads:inits = Table[ FindRoot[ BesselJ[n, x]*BesselY[n, 2*x] - BesselJ[n, 2*x]*BesselY[n, x] == 0, {x, n + 3}], {n, 1, 5}]; to this: inits = Table[ FindRoot[ BesselJ[n, x]*BesselY[n, 2*x] - BesselJ[n,
 

Related to Incorporate axis symmetric case

What is an axis symmetric case?

An axis symmetric case refers to a situation in which a system or object possesses symmetry around an axis. This means that the system looks the same when rotated around the axis, and all points on the axis have the same properties.

Why is it important to consider axis symmetry in scientific studies?

Axis symmetry is important because it simplifies the analysis and interpretation of data. It allows scientists to make predictions and draw conclusions about a system without having to take into account every single point or aspect of the system.

How is axis symmetry incorporated into scientific models?

Axis symmetry is incorporated into scientific models through the use of symmetry operations, such as rotations, reflections, and translations. These operations allow scientists to simplify the model and make predictions based on the symmetry properties of the system.

What are some real-life examples of axis symmetry?

Some examples of axis symmetry in real life include the symmetry of a bicycle wheel, a basketball, a cylinder, and a flower with radial symmetry. These objects all possess rotational symmetry around a central axis.

What happens if there is a lack of axis symmetry in a system?

If a system lacks axis symmetry, it can make the analysis and interpretation of data more complex and challenging. It may also indicate underlying asymmetries or irregularities in the system that could affect its behavior or properties.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
929
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
333
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
5K
  • Calculus and Beyond Homework Help
Replies
3
Views
577
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
857
Replies
1
Views
879
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
2K
Replies
5
Views
555
Replies
4
Views
1K
Back
Top