### Write first four strings in lexicographic enumeration

Assignment Help Theory of Computation
##### Reference no: EM1357335

1) Consider the language L = L1 ∩ L2, where L1 = {ww^R : w ∈ {a, b}* and L2 = {a^n b*a^n: n ≥ 0}.

a) List the first four strings in the lexicographic enumeration of L?

b) Write a context-free grammar to generate L.

c) Show a natural pda for L.

d) Prove that L is not regular.

### Previous Q& A

#### Explain the level of significance

Explain At the 0.05 level of significance is there evidence of a difference in the daily customer count based on the price of a small coffee

#### Elucidate three political philosophie of redistributing wage

There has been much political discussion about redistributing income. These ideas are not new. Name and elucidate the three political philosophies of redistributing income. Do you believe any of them have merit.

#### Journal entry for depreciation-presentation

At the end of its first year, the trial balance of Eaton Company shows Equipment \$30,000 and zero balances in Accumulated Depreciation?Equipment and in Depreciation Expense ?Equipment. Depreciation for the year is estimated to be \$6,000.

#### Assume that the block is not moving initially

The 200 g head of a golf club moves at 40 m/s in a circular ARC of 1.2 m radius. How much force must the player exert on the handle of the club to prevent it from flying out of her hands at the bottom of swing? Ignore the mass of the club's shaft.

#### Just in time

Surge capacity is the ability to take on an extra number of customers or product requests.

#### Journal entries of bad debt amounts

On December 31, of the current year, a company's unadjusted trial balance revealed the following: Accounts receivable of \$185,600; Sales Revenue of \$1,280,000; (75% were on credit), and Allowance for Doubtful Accounts of \$1,600 (credit balance). P..

#### Write java application to input three integers from user

Write Java application that inputs three integers from user and displays sum, average, product, smallest, and largest of the numbers.

#### Explain this policy be consistent with profit maximization

Management charges higher highly rates in the winter, when its average occupancy rate is 85 percent. Explain can this policy be consistent with profit maximization.

#### Describe the characteristics of portfolio

Your portfolio consists of \$50,000 invested in Stock X and \$50,000 invested in Stock Y. Both stocks have an expected return of 15 percent, a beta of 1.6, and a standard deviation of 30 percent.

#### Explain what is the hardest challenge or barrier

Barrier or Challenge to Change - Explain what is the hardest challenge or barrier to overcome when implementing a change in strategy?

### Similar Q& A

#### Express set as regular expression

Express the following set as a regular expression: The set of all strings of length at least three over {0,1} such that every three consecutive.

#### Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

#### Interpreting the regular expressions as languages

Show that the following identities hold for regular expressions over any alphabet: epsilon + R*R = R*. These should be done by interpreting the regular expressions as languages.

#### Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

#### Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

#### Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

#### Proving language to be pumping lemma

Show that the language F = {a^i b^j c^k | i, j, k greater than or equal to 0 and if i = 1 then j = k} is not regular. Show, however, that it satisfies the statement of the pumping lemma

#### Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

#### How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

#### Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

#### Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

#### Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.