Problem with MuPAD command while solving Schrodinger Equation for Morse Potential

I'm trying to solve this problem with the following command but it's showing "Error: An arithmetical expression is expected. [normal]"
Command:
solve(ode(diff(y(x),x$2)+(2/x)*(diff(y(x),x))+2*(E-(D*(1-exp(-a*(x-j)))^2))*(M/h^2)*y(x)=0,y(x)))
While I try to solve the above problem by taking V as constant I get good result with the command
Command:
solve(ode(diff(y(x),x$2)+(2/x)*(diff(y(x),x))+2*(E-V)*(M/h^2)*y(x)=0,y(x)))
Solution:
{(C8*exp((2^(1/2)*M^(1/2)*x*(V - exp(1))^(1/2))/h))/x - (2^(1/2)*C9*h*exp(-(2^(1/2)*M^(1/2)*x*(V - exp(1))^(1/2))/h))/(4*M^(1/2)*x*(V - exp(1))^(1/2))}
Can anyone please help?

Antworten (0)

Tags

Noch keine Tags eingegeben.

Gefragt:

am 20 Sep. 2017

Bearbeitet:

am 20 Sep. 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by