Examine a case study that illustrates the application of state chart diagrams.