This lecture covers the Metropolis algorithm, focusing on the detailed balance concept and the choice of trial step and starting configuration. It explains the invariant distribution master equation and transition probabilities, emphasizing the restoration of equilibrium and the correctness of the weight function.