subject
Engineering, 18.10.2019 17:10 gevaughn600

In this problem, we’ll use the following definitions of operations on languages (sets of strings) a, b:

union a ∪ b = {x | x ∈ a or x ∈ b}
concatenation a ◦ b = {xy | x ∈ a and y ∈ b}
star a* = {x1x2 . . xk | k ∈ z and k ≥ 0 and each xi ∈ a}
for each of the following sets of strings over the alphabet {a, b}, answer the following questions:
(1) is ε (the empty string) in the set?
(2) what is an example of a string over {a, b} of length at least 2 that is in the set (or why isn’t there such an example)?
(3) what is an example of a string over this alphabet of length at least 2 that is not in the set (or why isn’t there such an example)?
(a) { w | w ∈ {a, b}*}
(b) { w | w ∈ {ab}*}
(c) { a, aa } ◦ { b, bb }
(d) { a } ∪ { aa } ∪ { ab } ∪ { ba }

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Which one from below is not one of the reasons of planning failures? (clo3) a)-planner is careless. b-planner spend less time in the field but more time on the desk c)-planner is not qualified d)-planner does not have sufficient time to properly plan
Answers: 3
question
Engineering, 04.07.2019 18:20
Air is compressed isentropically from an initial state of 300 k and 101 kpa to a final temperature of 1000 k. determine the final pressure using the following approaches: (a) approximate analysis (using properties at the average temperature) (b) exact analysis
Answers: 1
question
Engineering, 04.07.2019 19:10
10 kg of co2 is initially contained at 400 kpa and 300 k. the gas constant for carbon dioxide is 189 j/lkg k) and has a specific heat ratio, k, of 1.289. isentropic expansion then occurs until the pressure is 200 kpa. a) determine the initial volume of co2 in m. b) determine the final temperature in k. c) determine the work done by the system during the expansion kl.
Answers: 2
question
Engineering, 04.07.2019 19:10
In general, how do thermosetting plastics compare to thermoplastics in mechanical and physical properties?
Answers: 3
You know the right answer?
In this problem, we’ll use the following definitions of operations on languages (sets of strings) a,...
Questions
question
Mathematics, 11.10.2019 01:00
question
Mathematics, 11.10.2019 01:00
question
Chemistry, 11.10.2019 01:00
question
Mathematics, 11.10.2019 01:00
Questions on the website: 13722367