I have a Sturm-Liouville problem as follows:
$$u'' + \lambda u = 0 , 0<x<1$$ $$u'(0) = u(1) = 0. $$
It is asked to estimate the first two eigenvalues via Rayleigh-ritz method and compare to the exact values. Then, to choose polynomial trial functions which resemble what our first two eigenfunctions should like.
Now, I showed that the eigenvalues cannot be negative or $0$. If $\lambda >0$ we will have a general solution $$u(x)=A \cos(\mu x) + B \sin(\mu x)$$ where $\mu^2 = \sqrt \lambda$. Appyling boundary conditions, we find that the eigenvalues must be of the form $$\lambda _n = n\pi$$ and corresponding eigenfunctions are given by $$\phi_n = A \cos(n \pi x)$$ for $ n \in \mathbb{Z}.$
Now, how can I proceed?