Hi everyone! I'm trying to find the eigenvalues for a particular equation. I already have the answer, but I want to find it through Mathematica. I tried with the following code:
eqy = Y''[y] + \[Beta]^2*Y[y] == 0;
sol = DSolve[{eqy}, Y[y], {y, 0, W}]
and I get the proper result, but I don't know how to find the eigenvalues. I tried with NDEigenvalues but it doesn't work properly:
NDEigenvalues[eqy, Y[y], {y, 0, W}, 1]
Can you perhaps give me some suggestions? Thank you in advance!