string_pde


string_pde, a C code which sets up and solves the partial differential equations (PDE) describing a vibrating string, creating files that can be displayed by gnuplot().

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

string_pde is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

FD1D_WAVE, a C code which applies the finite difference method to solve a version of the wave equation in one spatial dimension.

gnuplot_test, C codes which illustrate how a program can write data and command files so that gnuplot can create plots of the program results.

string_pde_test

Reference:

  1. George Lindfield, John Penny,
    Numerical Methods Using MATLAB,
    Second Edition,
    Prentice Hall, 1999,
    ISBN: 0-13-012641-1,
    LC: QA297.P45.

Source Code:


Last revised on 11 August 2019.