Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Solutions to the exercises of Chapter 3

School of Engineering and Digital Sciences, Nazarbayev University

Chapter: 3. Scaling to O(N): linked-cell lists and Verlet neighbor lists

Each solution below reproduces the chapter state and verifies the exercise targets with explicit assert checks.

Max force discrepancy vs O(N^2): Linked-Cell = 7.11e-15, Verlet List = 7.11e-15
Total Verlet list rebuilds over 40 steps (skin=0.35): 4
<Figure size 1120x430 with 2 Axes>

Worked solutions to Exercises 1–3

Ch 3 Exercises — Thin skin (0.10) rebuilds = 11 vs. skin (0.35) = 4