Skip to main content
added 67 characters in body
Source Link
garej
  • 4.9k
  • 2
  • 19
  • 43

I want to make a plot with a condition in such a way that the function A3 is zero at above some value of argument x.

For example, in the following equation, I need A3[9] = 0 and for x > 9. I also want the plot shouldof the function to go to zero at that value x = 9. How How I can do itthat?

A3[x_] := 
  10/(2.0816*x) (SphericalBesselJ[1, 2.0816*x/
         10]*(-10/(2*2.0816 x) SphericalBesselJ[1, 2.0816*x/10] + 
        1/2 (SphericalBesselJ[0, 2.08*x/10] - 
             SphericalBesselJ[2, 2.0816*x/10]))*(Sin[Pi/6])^2) +
             (SphericalBesselJ[1, 2.0816*x/10])^2*(Cos[Pi/6])^2/((2.0816*x)/10)^2;

Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]

I want to make a plot with a condition in such a way that the function is zero at above some value.

For example, in the following equation, I need A3[9] = 0 and the plot should go to zero at that value. How I can do it?

A3[x_] := 
  10/(2.0816*x) (SphericalBesselJ[1, 2.0816*x/
         10]*(-10/(2*2.0816 x) SphericalBesselJ[1, 2.0816*x/10] + 
        1/2 (SphericalBesselJ[0, 2.08*x/10] - 
             SphericalBesselJ[2, 2.0816*x/10]))*(Sin[Pi/6])^2) +
             (SphericalBesselJ[1, 2.0816*x/10])^2*(Cos[Pi/6])^2/((2.0816*x)/10)^2;

Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]

I want to make a plot with a condition in such a way that the function A3 is zero at above some value of argument x.

For example, in the following equation, I need A3[9] = 0 and for x > 9. I also want the plot of the function to go to zero at value x = 9. How I can do that?

A3[x_] := 
  10/(2.0816*x) (SphericalBesselJ[1, 2.0816*x/
         10]*(-10/(2*2.0816 x) SphericalBesselJ[1, 2.0816*x/10] + 
        1/2 (SphericalBesselJ[0, 2.08*x/10] - 
             SphericalBesselJ[2, 2.0816*x/10]))*(Sin[Pi/6])^2) +
             (SphericalBesselJ[1, 2.0816*x/10])^2*(Cos[Pi/6])^2/((2.0816*x)/10)^2;

Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]
Post Closed as "Needs details or clarity" by Michael Seifert, MarcoB, Alex Trounev, m_goldberg, NonDairyNeutrino
added 1 character in body
Source Link

I want to make a plot with a condition in such a way that the function is zero at above some value.

For example, in the following equation, I need A[9]A3[9] = 0 and the plot should go to zero at that value. How I can do it?

A3[x_] := 
  10/(2.0816*x) (SphericalBesselJ[1, 2.0816*x/
         10]*(-10/(2*2.0816 x) SphericalBesselJ[1, 2.0816*x/10] + 
        1/2 (SphericalBesselJ[0, 2.08*x/10] - 
             SphericalBesselJ[2, 2.0816*x/10]))*(Sin[Pi/6])^2) +
             (SphericalBesselJ[1, 2.0816*x/10])^2*(Cos[Pi/6])^2/((2.0816*x)/10)^2;

Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]

I want to make a plot with a condition in such a way that the function is zero at above some value.

For example, in the following equation, I need A[9] = 0 and the plot should go to zero at that value. How I can do it?

A3[x_] := 
  10/(2.0816*x) (SphericalBesselJ[1, 2.0816*x/
         10]*(-10/(2*2.0816 x) SphericalBesselJ[1, 2.0816*x/10] + 
        1/2 (SphericalBesselJ[0, 2.08*x/10] - 
             SphericalBesselJ[2, 2.0816*x/10]))*(Sin[Pi/6])^2) +
             (SphericalBesselJ[1, 2.0816*x/10])^2*(Cos[Pi/6])^2/((2.0816*x)/10)^2;

Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]

I want to make a plot with a condition in such a way that the function is zero at above some value.

For example, in the following equation, I need A3[9] = 0 and the plot should go to zero at that value. How I can do it?

A3[x_] := 
  10/(2.0816*x) (SphericalBesselJ[1, 2.0816*x/
         10]*(-10/(2*2.0816 x) SphericalBesselJ[1, 2.0816*x/10] + 
        1/2 (SphericalBesselJ[0, 2.08*x/10] - 
             SphericalBesselJ[2, 2.0816*x/10]))*(Sin[Pi/6])^2) +
             (SphericalBesselJ[1, 2.0816*x/10])^2*(Cos[Pi/6])^2/((2.0816*x)/10)^2;

Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]
Format code
Source Link
Rohit Namjoshi
  • 10.3k
  • 6
  • 18
  • 69

I want to make a plot with a condition in such a way that the function is zero at above some value.

For example, in the following equation, I need A[9]=0A[9] = 0 and the plot should go to zero at that value. How I can do it?

A3[x_] := 10/(2.0816* x) (SphericalBesselJ[1, 2.0816x/ 10](-10/(22.0816 x) SphericalBesselJ[1, 2.0816x/10] + 1/2 (SphericalBesselJ[0, 2.08x/10] - SphericalBesselJ[2, 2.0816x/10]))(Sin[ Pi/6])^2) + (SphericalBesselJ[1, 2.0816x/10])^2*(Cos[ Pi/6])^2/((2.0816*x)/10)^2 Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]

A3[x_] := 
  10/(2.0816*x) (SphericalBesselJ[1, 2.0816*x/
         10]*(-10/(2*2.0816 x) SphericalBesselJ[1, 2.0816*x/10] + 
        1/2 (SphericalBesselJ[0, 2.08*x/10] - 
             SphericalBesselJ[2, 2.0816*x/10]))*(Sin[Pi/6])^2) +
             (SphericalBesselJ[1, 2.0816*x/10])^2*(Cos[Pi/6])^2/((2.0816*x)/10)^2;

Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]

I want to make a plot with a condition in such a way that the function is zero at above some value.

For example, in the following equation, I need A[9]=0 and the plot should go to zero at that value. How I can do it?

A3[x_] := 10/(2.0816* x) (SphericalBesselJ[1, 2.0816x/ 10](-10/(22.0816 x) SphericalBesselJ[1, 2.0816x/10] + 1/2 (SphericalBesselJ[0, 2.08x/10] - SphericalBesselJ[2, 2.0816x/10]))(Sin[ Pi/6])^2) + (SphericalBesselJ[1, 2.0816x/10])^2*(Cos[ Pi/6])^2/((2.0816*x)/10)^2 Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]

I want to make a plot with a condition in such a way that the function is zero at above some value.

For example, in the following equation, I need A[9] = 0 and the plot should go to zero at that value. How I can do it?

A3[x_] := 
  10/(2.0816*x) (SphericalBesselJ[1, 2.0816*x/
         10]*(-10/(2*2.0816 x) SphericalBesselJ[1, 2.0816*x/10] + 
        1/2 (SphericalBesselJ[0, 2.08*x/10] - 
             SphericalBesselJ[2, 2.0816*x/10]))*(Sin[Pi/6])^2) +
             (SphericalBesselJ[1, 2.0816*x/10])^2*(Cos[Pi/6])^2/((2.0816*x)/10)^2;

Plot[{A3[x]}, {x, -20, 20}, AxesLabel -> {x, z}]
Source Link
Loading