- #1
GTdan
- 39
- 0
I don't know if I am being dumb or not but I need to solve a transcendental equation numerically and I need to write a program that can do this. The equation is so I can find the the ground state energy of a wave function in a semi-infinite well. I was told to use the Newton-Raphson method to do it and I am thinking of a transcendental equation found in the book would be the one I need to solve (if anyone thinks differently let me know). Here is the equation:
tan(z)=sqrt((z(o)/z)^2-1)
where z(o)=(a/h)*sqrt(2mV(o))
z=(a/h)*sqrt(2m(E+V(o)))
and V(o)= -10 eV
This is written in maple code btw. I'm thinking I can solve for z by using Newton's method and then solve for E afterwards since z is a function of E. That's the only idea I have that I would need Newton's method to do so can someone let me know if I am on the right track or give me some hints or something.
tan(z)=sqrt((z(o)/z)^2-1)
where z(o)=(a/h)*sqrt(2mV(o))
z=(a/h)*sqrt(2m(E+V(o)))
and V(o)= -10 eV
This is written in maple code btw. I'm thinking I can solve for z by using Newton's method and then solve for E afterwards since z is a function of E. That's the only idea I have that I would need Newton's method to do so can someone let me know if I am on the right track or give me some hints or something.