Give an nfa with minimum number of states

Assignment Help Engineering Mathematics
Reference no: EM13320710

1. State whether the following statements are true or not. You must give a BRIEF explanation or show a counter example to receive full credit.

(a) If a subset of a regular language is regular then all of its subsets are regular.

(b) (0111 + 1011 + 1101 + 1110)* is the regular expression for the set of all strings with 3n0 = n1 where n0 and n1 respectively denote the numbers of 0s and 1s in w.

(c) Let R1 = aba+ and R2 = ab+a be two regular expressions then R1 ∪ R2 = ab(a + b)*b.

(d) With pumping lemma, we can prove that L = {w : w = 1000} is a regular language.

2. The following table shows a non-associative operation closed under set A = {a, b, c, d} The left-to-right and right-to-left evaluation values of a string w, when interpreted as an expression, are represented as wlr and wrl, respectively. As an example if w = adb then wlr = (ad)b = ab = c and wrl = a(db) = ac = b.

2487_pumping lemma.png

(a) Give a DFA for the following language with the alphabet A, the first input to the DFA will be the left-most letter of the string:

 

L = {ω : ω ∈ A*, ωlr = d }

(b) Give an NFA with minimum number of states for the following language with the alphabet A, the first input to the NFA will be the left-most letter of the string:

L = {ω : ω ∈ A*, ωrl = d }

3. Give a regular expression for the set of all strings from f0, 1g , which are base 2 represen-tations of a number which is a multiple of 5. For example, the string 1111 which represents (1111)2 and equals 15, must be generated by the regular expression since it is a multiple of 5.

4. If L is a regular language prove that the following languages are also regular.

273_pumping lemma1.png

5. Prove or disprove that the following languages are regular.

1008_pumping lemma2.png

Reference no: EM13320710

Questions Cloud

A company is evaluating the impact of a wellness program : 1. A company is evaluating the impact of a wellness program offered on-site as a means of reducing employee sick days. A total of 8 employees agree to participate in the evaluation which lasts 12 weeks.
Calaveras tire exchanged machinery for two pickup trucks : Calaveras Tire exchanged machinery for two pickup trucks. The book value and fair value of the machinery were $40,000 (original cost of $95,000 less accumulated depreciation of $55,000) and $27,000, respectively.
How high must a doorway : Heights of swedish men follow a normal distribution with mean 72 in and standard deviation of 5 in. How high must a doorway be so that 90% of swedish men can go through without having to bend?
What was the gain or loss on the sale of the equipment : Lawler Clothing sold manufacturing equipment for $34,000. Lawler originally purchased the equipment for $98,000, and depreciation through the date of sale totaled $80,000.
Give an nfa with minimum number of states : Give an NFA with minimum number of states for the following language with the alphabet A, the first input to the NFA will be the left-most letter of the string
Prepare the journal entry to record the budget : A village ordered supplies for its Fire Department at an estimated cost of $16,700. The supplies were received with an invoice for $16,800.
Determine the change in the length of the solenoid : A 6.30 x 10 -5 H solenoid is constructed by wrapping 54 turns of wire around a cylinder with a cross-sectional area of 6.4 x 10-4 m2. Determine the change in the length of the solenoid
Find the total sound intensity : A man stands at the midpoint between two speakers that are broadcasting an amplified static hiss uniformly in all directions. Find the total sound intensity that the man hears when he is at his initial position halfway between the speakers
Budgetary journal entry at the beginning of fiscal : Actual revenues are equal to estimated revenues, and actual expenditures are $7,000 less than appropriations.

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Find the inverse function of f

Explain what each of the following mathematical statements mean in regard to the graph of f(x).With your explanation, include a DIAGRAM for each part.

  What is the nyquist rate for signal

What is the meaning of "Nyquist rate", and what is the Nyquist rate for this signal discuss if the original signal x(t) can be perfectly reconstructed from z(t).

  Solve the heat equation problem

Separation of variables to solve the heat equation problem with inhomogeneous boundary conditions and evaluate your series solution in order to plot the temperature profile at a few fixed values of time.

  Differential equation modelling the smoke layer depth

Simple differential equation modelling the smoke layer depth (y) in a large atrium provided with dynamic smoke extraction system.

  Evaluate lim sup ek

Evaluate lim sup Ek

  Compute the amount of net income reported by light

Compute the amount of net income reported by Light for 20X2. In addition, prepare the stockholders' equity section of Light's balance sheet as of December 31, 20X2.

  Find the solution of the exact differential equation

Find the solution of the exact differential equation and show that the integrating factor F(x) is given by the solution of the following differential equation

  Identify what makes flipping coin and keeping track of tails

Identify what makes flipping a coin and keeping track of tails a binomial experiment and please give one example of each, and describe how these examples differ from one another

  What was the size of each payment

What will the interest charges be if she elects the 24-month plan and find the periodic payment R required to amortize a loan of P dollars

  Find the equation of the tangent line

Find the equation of the tangent line to the graph and Find the velocity and the acceleration of the particle and position of a particle moving along a straight line

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd