Question

Exercise 3.4.3: In Example 3.6, we developed the regular expression Use the distributive laws to develop two different, simpler, equivalent expres- sions.

Neatly with explanation please

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Let me know if you have any doubt.

Answer)

Regular Expression: (0+1)*1(0+1) +  (0+1)*1(0+1)(0+1)

Distributive Property (Distributive Law) a(b+c)- ab+ac a(b-c) ab-ac

After applying distributive law, the two different expression would be:

1)

(0+1)*10 + (0+1)*11 + (0+1)*1(0+1)(0+1)

2)

(0+1)*1(0+1) + (0+1)*1(0+1)0 + (0+1)*1(0+1)1

Add a comment
Know the answer?
Add Answer to:
Neatly with explanation please Exercise 3.4.3: In Example 3.6, we developed the regular expression Use the...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • please write neatly. will thumbs up :) Use the worked example above to help you solve...

    please write neatly. will thumbs up :) Use the worked example above to help you solve this problem. An object 3.15 cm high is placed 20.3 cm from a convex mirror with a focal length of 8.30 cm. (a) Find the position of the image. cm (b) Find the magnification of the mirror. (c) Find the height of the image. cm EXERCISE HINTS: GETTING STARTED I I'M STUCK! Suppose the object is moved so it is 4.15 cm from the...

  • We use the transportation tableau to find the optimal solution please show working Transportation Method (Example)...

    We use the transportation tableau to find the optimal solution please show working Transportation Method (Example) Mar 800 Demand Capacity: 1000 1,100 Regular Overtime Subcontracting 800 100 200 100 Costs 700 100 300 700 50 150 Beginning invento $30 per tire $50 per tire Regular time Overtime Subcontracting$60 per tire Carrying $4 per tire per month

  • please explain and write neatly 1. Once again we have a skier on an inclined plane....

    please explain and write neatly 1. Once again we have a skier on an inclined plane. The skier has mass M and starts from rest. Her speed at the bottom of the slope is 12.0 meters/second. The hill is inclined 30 degrees from the horizontal and the length of the slope is 100.0 meters. Use the law of conservation of energy to determine her final speed and write that number down here: What could account for the difference in your...

  • please help with the exercise portion PRACTICE IT Use the worked example above to help you...

    please help with the exercise portion PRACTICE IT Use the worked example above to help you solve this problem. Two wires, each having a weight per unit length of 1.14 x 10-4 N/m, are parallel with one directly above the other. Assume that the wires carry currents that are equal in magnitude and opposite in direction. The wires are 0.16 m apart, and the sum of the magnetic force and gravitational force on the upper wire is zero. Find the...

  • C++: Learning Outcomes Implement two stacks and use them to implement an infix to prefix expression...

    C++: Learning Outcomes Implement two stacks and use them to implement an infix to prefix expression convertor Stacks A stack is an abstract data type which uses a sequential container and limits access to that container to one end. You may enter or remove from the container, but only at one end. Using the Linked List data structure from your last homework assignment, implement a Stack of type string. The Stack should only have one data member: the Linked List....

  • MATLAB codes please 3. Adapt the procedure developed in Example 6 to rotate the square counterclockwise...

    MATLAB codes please 3. Adapt the procedure developed in Example 6 to rotate the square counterclockwise by incre ments of /10 about the origin. Stop when the square is in its original location and then rotate it in the clockwise direction until the square is in its original location again. You may want to rescale the axis by using axis((-2,2-2,21). Include the M-lile. Do not include the figure Hint: Since you are performing a computation several times, you will want...

  • A schema is like a set of instructions, right? As adults we use them all the...

    A schema is like a set of instructions, right? As adults we use them all the time, and we don’t really notice we’re doing it. Switch on a light or make a sandwich and you are using a schema to do it - a mental model you’ve created through a process of trial and error to find the best and most efficient way of completing your task. Our schemas aren't always right. What's special about them is that they represent...

  • Please answer both (a) and (b) and code using Python3. Exercise 8.3 The Lorenz equations One...

    Please answer both (a) and (b) and code using Python3. Exercise 8.3 The Lorenz equations One of the most celebrated sets of differential equations in physics is the Lorenz equations: dx dz ar=0(y-x), dr where σ r, and b are constants. (The names σ, r, and bare odd, but traditional-they are always used in these equations for historical reasons.) These equations were first studied by Edward Lorenz in 1963, who derived them from a simplified model of weather patterns. The...

  • Please use C++ only Purpose : This stage involves recursion and recursion-like reasoning in coding while...

    Please use C++ only Purpose : This stage involves recursion and recursion-like reasoning in coding while also actively preparing a critical component necessary. Description : Computers don’t natively understand mathematical expressions in the way we prefer to write them. While we prefer “infix” notation, where the operators come between the values being operated upon, computers prefer either “prefix” or “postfix” notation, as these are unambiguous and easier for them to operate upon. As the project, at its core, is to...

  • The answer is one of the following: Please be descriptive!! 1. Use this exercise to convince...

    The answer is one of the following: Please be descriptive!! 1. Use this exercise to convince yourself that using different probabilities, the same discrete time chain may produce different stationary discrete time Markov chains with different transition matrices (we only consider two probabilities here in this problem; there are many other proba- bilities that can be chosen for which the process is not stationary or does not satisfy the Markov property). Consider two states 0 or 1 which a process...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT