Construct Finite Automata for Regular Expression a+b+



The language for the given regular expression (RE) is as follows −

L={ ε,aa,ab,ba,aaaa,………}

Example

Let the regular expression be ((a+b)(a+b))*(a+b).

Construct the Finite automata for the given regular expression.

First, generate the language for the given Regular Expression −

L={a,d,aaa,bbb,abb,bab,bba,………..}

This is the language of odd length strings

The Finite Automata is as follows −

Updated on: 2021-06-12T11:02:54+05:30

4K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements