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.