This model solves the wave equation in 1 dimension with a resistive term. (Wave equation description from MathWorld.)

A finite difference approach is used, where the wave is broken up into segments. (Finite difference description from MathWorld.)