Answer on Question #42825, Math, Other
Problem. Let L be a language given by L={anbn:n≥0}, then L2 is equal to
a) {anbnambm:n≥0,m≥0}
b) {anbn:n≥0}
c) {anbnanbn:n≥0}
d) none of these.
Solution.
If L1 and L2 are languages over some common alphabet, then concatenation L1L2 consists of all strings of the form vw where v is a string from L1 and w is a string from L2.
The language L2 consists of all strings anbnambm, where n≥0 and m≥0.
Answer: a) {anbnambm:n≥0,m≥0}
www.AssignmentExpert.com