Solving a trascedental equation

  • Thread starter Thread starter dingo_d
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around solving a transcendental equation derived from the problem of an infinite square well with a delta potential. The equation involves parameters such as the width of the well, the mass of the particle, and energy eigenvalues.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore numerical methods, particularly Newton's method, to find roots of the equation. Questions arise regarding the convergence of the method and the correctness of the setup.

Discussion Status

Some participants have attempted to apply Newton's method but encountered issues with convergence. There is a suggestion to plot the function to identify good starting points, and a correction regarding the iteration formula has been noted. One participant expresses optimism about finding a solution.

Contextual Notes

There are indications of uncertainty regarding the parameters and the numerical methods being employed, as well as a mention of using Mathematica for computations and plotting.

dingo_d
Messages
199
Reaction score
0

Homework Statement



I have solved the problem of an infinite square well with a delta potential in the middle, what I got in the end is:

[tex]\cot(\frac{\sqrt{2 m E}}{\hbar}a)=-\frac{\Omega\hbar a \sqrt{2m E}}{2mE a}[/tex]
, where a is the width of the well, m the mass of the particle in it, E the energy eigenvalue, and [tex]\Omega[/tex] some parameter that was with the delta potential.

Now I need to solve that equation and I have no idea how to do that :\

I'm not much of a numerical solver :\

Anywho the solution to Schrödinger eq. is:

[tex]u_n^+(x) =<br /> \begin{cases}<br /> A\sin(k_n^+(x+a)) & \text{if } -a\leq x < 0 \\<br /> -A\sin(k_n^+(x-a)) & \text{if } 0< x \leq a<br /> \end{cases}[/tex]

And the [tex]k_n^+=\frac{n\pi}{2a}[/tex], where [tex]n=\pm 2,\pm 4,\ldots[/tex]
 
Physics news on Phys.org
You can use Newton's method:

http://en.wikipedia.org/wiki/Newton's_method

Just turn your equation into f(E) =0 and use Newton's method to find the roots. It usually helps to have a sketch of the function to determine good starting points.
 
Hmmm so I've set
[tex]f(ka)=\cot(ka)+\frac{\Omega}{ka}[/tex] and then with Mathematica I've made:
[tex]x_{n+1}=x_n+\frac{f(ka)}{f'(ka)}[/tex] and no matter what parameter I choose the solution doesn't converge :\

Now I dk if I'm doing sth wrong or not...
 
dingo_d said:
Hmmm so I've set
[tex]f(ka)=\cot(ka)+\frac{\Omega}{ka}[/tex] and then with Mathematica I've made:
[tex]x_{n+1}=x_n+\frac{f(ka)}{f'(ka)}[/tex] and no matter what parameter I choose the solution doesn't converge :\

Now I dk if I'm doing sth wrong or not...

There's a sign wrong in your iteration, it should be

[tex]x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}[/tex]

If you are using Mathematica, you can plot to get good starting points for Newton's method. You could also probably get a list of roots directly with Mathematica.
 
Oh, I've found it, I just hope it's right thing :D Thanks ^^
 

Similar threads

Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K