This note analyses the inflation-targeting model that underlies recent textbook expositions of the Aggregate Demand-Aggregate Supply approach used in introductory courses in macroeconomics. The paper shows how numerical simulations of a model with inflation inertia can be used as a tool to help students understand adjustments in response to demand and supply shocks of various kinds.