Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lfa:lab10-cfl-closures [2020/12/07 18:25]
lfa
lfa:lab10-cfl-closures [2020/12/08 09:12] (current)
lfa
Line 30: Line 30:
 //2.5.// $ L = \{w \in \{a, b\}^*\ |\ w=a^nb^n \ and\ |w|\ \%\ 3\ =\ 0 \} $ \\ //2.5.// $ L = \{w \in \{a, b\}^*\ |\ w=a^nb^n \ and\ |w|\ \%\ 3\ =\ 0 \} $ \\
  
-//2.6.// $ L = \{w \in \{a, b\}^*\ |\ w=a^nb^n ​\ and\ |w|\ \%3=\} $ \\+//2.6.// $ L = \{w \in \{a, b\}^*\ |\ \#_{a}(w)=\#​_{b}(w) ​\ and\ nobshouldbefollowedby\ two\ a \} $ \\
  
 //2.7.// Give an example of two context-free languages whose intersection is context-free. //2.7.// Give an example of two context-free languages whose intersection is context-free.