The Gateway to Computer Science Excellence

0 votes

Let A be a regular set. Consider the two sets below

L1={x | $\exists n\geq 0, \exists y\epsilon A :$ y=$x^n$}

L2={x | $\exists n\geq 0, \exists y\epsilon A :$ x=$y^n$}

which of the following statements is true?

- L1 and L2 both are regular
- L1 is regular but L2 is not
- L1 is not regular but L2 is
- L1 and L2 both are non-regular

closed as a duplicate of:
Virtual Gate Test Series: Theory Of Computation - Regular Languages

52,315 questions

60,430 answers

201,762 comments

95,242 users