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

  What is the overall market beta of apex health services

What is the overall corporate beta of Apex Health Services?k Is the calculated beta consistent with corporate risk theory and what is the overall market beta of Apex Health Services?

  Matrix multiplication and with the identity matrix

Define a linear map T from the vector space C to the vector space and matrix multiplication and with the identity matrix

  Set up a scatter diagram for speed and miles per gallon

A research analyst for an oil company wants to develop a model to predict miles per gallon based on highway speed.  An experiment is designed in which a test car is driven at speeds ranging from 10 miles per hour to 75 miles per hour.  The results ar..

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Find the laplace transform

Find the Laplace transform and also find the inverse Laplace transform

  Sketching the direction field of a differential equation

The slopes in the direction field are all identical along horizontal lines and new solutions can be generated from old ones by time shifting (i.e., replacing y(t) with y(t - t0).

  Determine by a projection the point on the hyperplane

Determine by a projection the point on the hyperplane and determine a vector equation of the line of intersection of the planes

  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

  Explain about natural growth model

How long will it take before it is considered dangerous to live in this mountain valley - atmospheric pollutants in a certain mountain valley grown according to a natural growth model

  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

  Calculate the tangential

You will need the parameterization formula for a helix discussed in class. (2) Since you want ten turns of wire, it is convenient to let the range of parameter t be 0

  Wirte a correct alternative hypothesis

What differentiates a Z test statistic for a population from the z statistic for sampling of the mean? Why difference. Consider a normal population

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