Let $u(x,t)$ be a function that satisfies the PDE $$u_{xx}-u_{t t} = e^x+6t,$$ $x\in \mathbb{R}, t>0,$ and the initial conditions $$u(x,0)=\sin(x) ,u_{t}(x,0)=0$$ for every $x\in \mathbb{R}.$ Then what is the value of $u(\pi/2,\pi/2)?$
I'm not getting how to solve an inhomogeneous wave equation; can anyone give a hint?
Hint
Define$$w(x,t)\triangleq u(x,t)-e^x+t^3$$therefore $$u_{xx}-u_{tt}=e^x+6t\implies w_{xx}-w_{tt}=0$$with the following initial conditions$$w(x,0)=u(x,0)-e^x=\sin x-e^x\\w_t(x,0)=u_t(x,0)=0$$Now, how is a homogeneous wave equation solved in terms of $w$?