683 views

1 Answer

1 votes
1 votes

Two ways to handle:-

First see the language accepted:- At least 1 bit,so you can design DFA for tha and write as :-(0+1)(0+1)* or (0+1)*(0+1) as both are representing one bit, And i can say this as (0+1)+.

Other way ,use properties. :- a*a=aa*,a*a*=a*,  aa*=a+

 (0+1)*(0+1)(0+1)* 

Using above property i can exchange first two expressions:- (0+1)(0+1)* (0+1)*  

Then i can combine last two terms :(0+1)(0+1)* 

Then i can combine them in one :-(0+1)+ 

Related questions

0 votes
0 votes
2 answers
1
Pratik.patil asked Oct 30, 2023
396 views
Which of the following regular expression represent the set of all the strings not containing $100$ as a substring ?$0^*(1^*0)^*$$0^*1010^*$$0^*1^*01^*$$0^*(10+1)^*$
1 votes
1 votes
2 answers
3