I am new to Mathematica and trying some things.
I am trying to solve a second order inhomogeneous equation.
I can get the homogeneous part by:
DSolve[y''[x] +y[x] == 0, y[x], x]
But now I need the inhomogeneous part:
DSolve[y''[x] +y[x] == g, y[x], x] or something...
How does on do this?