✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
In order to visualise time evolution of f(x,t)=cos(x+2t) in the region x=[-1,1] and for t=[0,3] in Mathematica, you can use