Group Abstract Group Abstract

Message Boards Message Boards

Solve a quantum potential well equation?

Posted 6 years ago

Hi. The quantum potential well equation is y''=-k y where k is a constant. I know how to write it in Mathematica

DSolve[y''[x] == -k y[x], y[x], x]

but I don't know how to write it with the boundary conditions. The boundary conditions are 0<x<a and y(x)=0 and y(a)=0. Please help me.

POSTED BY: Reza rho
2 Replies
POSTED BY: Nathan Shpritz
Posted 6 years ago

Thanks, it's better now. How can I write it with this condition? => for x>a and x<0 y[a]==0.

POSTED BY: Reza rho
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard