[Math] Find the solution for the spring-mass problem $y′′+9y=\cos(3t)$. Solve with initial conditions $y(0) = 0$, $y′ (0) = 0$. Using Laplace transform

laplace transformordinary differential equations

I first took the Laplace transform of each part then getting $s^{2}Y+9Y=\frac{s}{s^{2}+9}$ then solving for Y, I got $Y=\frac{s}{(s^{2}+9)^{2}}$ but don't know how to simplify that to something that can be transformed back.

Best Answer

Hint: $\frac{s}{(s^2+9)^2} = \frac{d}{ds}\frac{-1}{2(s^2+9)}$