Example - Answering Machine

Verbal description:

State transition diagram:

States = {idle, count1, count2, play greeting, recording}
Inputs = {ring, offhook, end greeting, end message, absent}
Outputs = {answer, record, recorded, absent}

Trajectory example

Suppose input sequence is

ring, ring, ring, end greeting , end message,

State response:

idle, count1, count2, play greeting, recording ,

Output sequence:

absent, absent, answer, record, recorded,