I have the following Sturm-Liouville problem for $0 \le x\le \pi$
$$y'' + \lambda y=0, \qquad y(0) = 0, \qquad y(\pi)+y'(\pi) = 0 $$
How do I find the spectrum of the problem? And how will the spectrum change if instead of $0 \le x \le \pi$ and $y(0)=0$, we have $0<x<\pi$ and $y(0)-y'(0)=0$ instead?
edit: for the first problem i got that the spectrum is $\lambda>0$ since for $=0$ or $<0$ i get the trivial solution (don't know if i'm correct though). As for the second problem, i've got $\lambda=1,-1$ (and also the trivial solution). are there any issues with those solutions?
Solving for
$$ y'' + \lambda^2 y=0, \qquad y(0) = 0 $$
we have
$$ y=c_2\sin(\lambda x) $$
and then
$$ y(\pi)+y'(\pi)=0\Rightarrow c_2\left(\lambda\cos(\lambda\pi)+\sin(\lambda\pi)\right)=0 $$
this follows for all $\lambda_k$ such that $\lambda_k\cos(\lambda_k\pi)+\sin(\lambda_k\pi)=0$ as can be depicted in the following plot