The wave equation

In this chapter, we are going to solve numerically the wave equation. Unlike the previous equations we've been solving, this is a partial differential equation. For this new kind of equations, we are going to learn new methods, such as the method of lines.

Lets start by defining the problem for the 1 dimensional wave equation. We are trying to find a function f which depends of one spatial coordinate x and one temporal coordinate. All we know about f is that it satisfies the wave equation:

and that it satisfies the following initial conditions:

In the following sections, we are going to show ways in which one can approximate the value of this function in a discrete domain.

Last updated