Skip to main content

Discrete Math with SageMath: Learn math with open-source software

Chapter 11 Finite State Machines

In this chapter, we explore a powerful abstract model: finite-state machine (finite automata). Beyond its theory, we’ll see how to use SageMath to define, model, then build, visualize and run an example of a state machine to solve a real-world problem.