712 views

2 Answers

1 votes
1 votes
$L=((a+b)b(a+ab)^*)$ can be written as follows:

$L=((ab+bb)(a+ab)^0\cup(a+ab)^1\cup(a+ab)^2)$

$L=(ab+bb)(\epsilon,a,ab,aa,aab,aba,abab)$

$L=ab,aba,bb,bba$

Total $4$ strings will be generated whose lengths is $<4.$

Related questions

2 votes
2 votes
0 answers
1
0 votes
0 votes
0 answers
3
Naveen Kumar 3 asked Mar 31, 2019
214 views
Show that $r = (1 + 01)^* (0 + 1^*)$ also denotes the language in $L =$ {$w∈${$0,1$}$^* : w$ has no pair of consecutive zeros}. Find two other equivalent expressions.
0 votes
0 votes
0 answers
4