1,276 views
2 votes
2 votes
what is init(L),given that
1) L=(01)*

2)no of zero in w=no. of one in w.

2 Answers

Best answer
1 votes
1 votes
1. $INIT[(01)^{*}] = (01)^{*}(\epsilon +0)$

INIT(L) = $\\ L/ \Sigma ^{*} \\ = (01)^{*}/ (0+1) ^{*} = (01)^{*}/ {\epsilon,0,1,01,10,11,00....} \\ \ = (01)^{*}/\epsilon \ + (01)^{*}/1 + (01)^{*}/01 + (01)^{*}/0101 + ....... \\ \ = (01)^{*} + (01)^{*}0$
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2. $INIT[L= \left \{ w|n_{0}(w) = n_{1}(w) \right \}] = (0+1)^{*}$
selected by

Related questions

2 votes
2 votes
0 answers
1
0 votes
0 votes
1 answer
2
Prerna Chauhan asked Sep 16, 2016
221 views
The answer is 4. But how?
3 votes
3 votes
1 answer
4