3,322 views

2 Answers

Best answer
1 1 vote
#a - #b <=10 there can be infinite number of solutions for this.. Hence not regular bcz finite representation is not possible we can't put something in loop to produce this language...

wcwwR since c belongs to (a, b) * we can expand c in such a way that language looks like starting nd ending with same symbol therefore it is regular language.
• selected by
0 0 votes

#a - #b are less than or equal to 10. that means the difference between a and b must be less than 10 and there infinite number of such finite string possible . So, this is regular

wcwwr is regular when $w=\epsilon$ andc=(a+b)*

as in this case we got all string like $\left \{ \epsilon ,a,b,aa,bb,ab,abb........ \right \}$

Position:
Show:

No related questions found