Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

p19: Second order Wave Equation on Chebyshev Grid

We solve

utt=uxx,−1<x<1,t>0u_{tt} = u_{xx}, \qquad -1 < x < 1, \qquad t > 0

with boundary condition

u(±1,t)=0u(\pm 1,t) = 0

and initial condition

u(x,0)=e−200x2u(x,0) = e^{-200 x^2}
<Figure size 1000x1200 with 1 Axes>

Note that the boundary conditions do not depend on time; they are satisfied initially and we do not change these values during the time stepping. This is accomplished by setting w[0] = w[N] = 0.

Make animation

Loading...