Loading
The explicit scheme replaces both second derivatives by central differences. Each new time level comes from the two before it, so the string's shape can be marched forward from its starting shape and speed.
, , , . Use h = k = 1 for four time steps.
| 1 | 2 | 3 | 4 | ||
|---|---|---|---|---|---|
| 0 | 0 | 3 | 4 | 3 | 0 |
| 1 | 0 | 2 | 3 | 2 | 0 |
| 2 | 0 | 0 | 0 | 0 | 0 |
| 3 | 0 | −2 | −3 | −2 | 0 |
| 4 | 0 | −3 | −4 | −3 | 0 |
The calculator below opens on this example.
Using the general recurrence for the first step.
Taking r > 1.
Forgetting to subtract the value two rows back.
Ends fixed at u = 0.
Add this calculator to a new note, next to your own working. It stays live: change the numbers there any time.