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 6

School of Engineering and Digital Sciences, Nazarbayev University

Chapter: 6. Stochastic thermostats: Andersen and Langevin (BAOAB) dynamics

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

BAOAB <x^2> across dt = [0.05..0.50]: [0.992 0.978 0.97  0.993] (exact = 1.000)
<Figure size 1120x430 with 2 Axes>

Worked solutions to Exercises 1–3

Ch 6 Exercises — Free Langevin D_est = 0.736 vs. exact T/gamma = 0.750