Section 10 of tentative book on Markov chains, with motivation for the Metropolis and Metropolis-Hastings algorithms for Markov Chain Monte Carlo, along with some theory.