18.5 Variational methods [None]