This is a question from a differential equations practice test. I don't understand how my professor got the answer she did - she may or may not have made an error; I got a different answer when I did it and when I ran it through a Laplace transform calculator, so I just want to be sure.
$\mathcal{L}${y}(s) = $e^{-\pi s}$$\frac{0.5}{s^2 + 0.25}$ + $\frac{s+4}{s^2 + 4s + 5}$
Note U is the step function or Heaviside function - that is how we write it in our differential equations class
Her answer was y = -cos($\frac{x}{2}$)U(x - $\pi$) + $e^{-2x}$(2sinx + cosx)
She also used trig identities: sin($\frac{x}{2}$(x - $\pi$)) = sin($\frac{x}{2}$)cos(-$\frac{\pi}{2}$) + cos($\frac{x}{2}$)sin(-$\frac{\pi}{2}$) = sin($\frac{x}{2}$(x - $\pi$)) = -cos($\frac{x}{2}$)