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

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

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

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

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