I'm given a PDE $u_{tt}=u_{xx}+t\cos(x)$ with BC $u_x(t,0)=-1$, $u_x(t,\pi)=0$ and IC $u(0,x)=\cos(x)$, $u_t(0,x)=\cos^2(x)$, and I'm told to compute $$\int_0^\pi u(t,x) dx$$
I've already taken the integral of the whole equation, but now I'm left with $$\pi u_{tt}=1$$
In order to fully compute the quantity, I figured I should integrate it once with respect to $t$ so I can utilize the IC $u_t(0,x)=\cos^2(x)$. But I'm uncertain over which interval to evaluate this. Would it be $\int_0^\pi dt$?