How to solve the boundary value problem given below:
$ \frac{d^2 y}{dx^2}+xy=1 $ , with the conditions $ y(2)=5 $ and $y(9)=6 $ .
I know the problem is given Dirichlet Boundary condition but I could not find a suitable method to get the solution.
Is there a way to solve it?