Question

LB = {w|w e {a,b,c}^*, w =c^kbba^n, n<k}. 1. Is LB regular or not? 2. Give...

LB = {w|w e {a,b,c}^*, w =c^kbba^n, n<k}.

1. Is LB regular or not?

2. Give proof that supports your answer.

Homework Answers

Answer #1

LB = { w | W { a,b,c } , W= , n<k }

1.

This Language is not regular.

2.

proof : -

For any regular language, there exists a Finite Automata ( NFA or DFA ). Finite Automata has limited memory. comparisons are not possible in Finite Automata .

you can clearly see the comparison " n<k " in the Language defenition. comparison always requires memory. So Drawing Finte Automata (DFA or NFA ) is impossible . This Language s not Regular because there are no Finite Automata Representing This Language .

--------------------------------------------------------------

note :- provng the language is not regular using pumping lemma is not possible because " k " will be always greater than " n" . so for any given pumping length p . The language always Satisifie pumping lemma.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Give a non-algebraic proof that C(n,k) = C(n – 1, k ) + C(n – 1,k...
Give a non-algebraic proof that C(n,k) = C(n – 1, k ) + C(n – 1,k – 1).
Let S = {A, B, C, D, E, F, G, H, I, J} be the set...
Let S = {A, B, C, D, E, F, G, H, I, J} be the set consisting of the following elements: A = N, B = 2N , C = 2P(N) , D = [0, 1), E = ∅, F = Z × Z, G = {x ∈ N|x 2 + x < 2}, H = { 2 n 3 k |n, k ∈ N}, I = R \ Q, J = R. Consider the relation ∼ on S given...
Proof: Let G be a k-connected k-regular graph. Show that, for any edge e, G has...
Proof: Let G be a k-connected k-regular graph. Show that, for any edge e, G has a perfect matching M such that e ε M. Please show full detailed proof. Thank you in advance!
2. Let A = {p, q, r, s}, B = {k, l, m, n}, and C...
2. Let A = {p, q, r, s}, B = {k, l, m, n}, and C = {u, v, w}, Define f : A→B by f(p) = m, f(q) = k, f(r) = l, and f(s) = n, and define g : B→C by g(k) = v, g(l) = w, g(m) = u, and g(n) = w. Also define h : A→C by h = g ◦ f. (a) Write out the values of h. (b) Why is it that...
A regular box of candy contains 1 lb. chocolate candy and 2 lb. caramel candy. A...
A regular box of candy contains 1 lb. chocolate candy and 2 lb. caramel candy. A chewy box contains 2 lb. chocolate candy and 7 lb. caramel candy. Selling a regular box generates $20 profit and a chewy box generates $18 profit. If the maximum amount of chocolate candy is 60 lb. and the maximum amount of caramel candy is 96 lb., then how many of each type of box should you sell to maximize the amount of profit generated?
a) When the expression (A+ a)(B + b)(C + c)(D + d)(E + e) is multiplied...
a) When the expression (A+ a)(B + b)(C + c)(D + d)(E + e) is multiplied out, how many terms will have three uppercase letters? b) How many ways are there to pick a combination of k things from {1, 2,...,n} if the elements 1 and 2 cannot both be picked? d) 2 How many ways are there to put eight rooks on a chessboard so that no one rook can capture another? (This means that no two are in...
CountingSort(A, B, k) for i=1 to k C[i]= 0; for j=1 to n C[A[j]] += 1;...
CountingSort(A, B, k) for i=1 to k C[i]= 0; for j=1 to n C[A[j]] += 1; for i=2 to k C[i] = C[i] + C[i-1]; for j=n downto 1 B[C[A[j]]] = A[j]; C[A[j]] -= 1; illustrate the operation of COUNTING-SORT on the array A = {6,0,2,0, 1, 3, 5, 6, 1, 3, 2}. Specifically, show the four arrays A, B, C, and C'.
suppose that X ~ Bin(n, p) a. show that E(X^k)=npE((Y+1)^(k-1)) where Y ~ Bin(n-1, p) b....
suppose that X ~ Bin(n, p) a. show that E(X^k)=npE((Y+1)^(k-1)) where Y ~ Bin(n-1, p) b. use part (a) to find E(x^2)
y[n] =b(ax[n] +x[n-1]+ax[n-2]) where a&b >0. Find the frequency response of the system H(e^jw). Determine the...
y[n] =b(ax[n] +x[n-1]+ax[n-2]) where a&b >0. Find the frequency response of the system H(e^jw). Determine the values of a & b, if the magnitude response of the filter at w = 0 is 1 and at w =pi÷2 is 0.5. thanks
Find the derivative of each of the following functions: (a) y=x^12 (c) y=7x^5 (e) w=-4u^(1/2) (b)...
Find the derivative of each of the following functions: (a) y=x^12 (c) y=7x^5 (e) w=-4u^(1/2) (b) y =63 (d) w=3u^(-1) (f) w=4u^(1/4) 2. Find the following: (a) d/dx(-x^(-4)) (c) d/dw 5w^4 (e) d/du au^b (b) d/dx 9x^(1/3) (d) d/dx cx^2 (f) d/du-au^(-b)    3. Find f? (1) and f? (2) from the following functions: Find the derivative of each of the following functions: (c) y=x^12 (c) y=7x^5 (e) w=-4u^(1/2) (d) y =63 (d)w=3u^(-1) (f) w=4u^(1/4) 4. (a) y=f(x)=18x (c) f(x)=-5x^(-2)...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT