I want to have a solution to this equation as X[x,n] := Sin[n pi x] from the DSolve function. I would really appreciate any help with this, please. I have spent some time trying to find how to do this.
Thank you, that is exactly what I needed :)