Modeling a Wave on a String With the Finite Difference Method in Python

Rhett Allain
11 min readMar 16, 2022
Photo: Rhett Allain. A plucked guitar string is a perfect example of a wave on a string.

There’s a very good chance that you have at least plucked a guitar string. When you do that, you deform the string under tension with some initial state. After that, the “plucked” parts of the string interact with the other parts of the string — and you get a wave.

--

--

Rhett Allain

Physics faculty, science blogger of all things geek. Technical Consultant for CBS MacGyver and MythBusters. WIRED blogger.