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

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 14:10, BardiFan
Amass of m 1.5 kg of steam is contained in a closed rigid container. initially the pressure and temperature of the steam are: p 1.5 mpa and t 240°c (superheated state), respectively. then the temperature drops to t2= 100°c as the result of heat transfer to the surroundings. determine: a) quality of the steam at the end of the process, b) heat transfer with the surroundings. for: p1.5 mpa and t 240°c: enthalpy of superheated vapour is 2900 kj/kg, specific volume of superheated vapour is 0. 1483 m/kg, while for t 100°c: enthalpy of saturated liquid water is 419kj/kg, specific volume of saturated liquid water is 0.001043m/kg, enthalpy of saturated vapour is 2676 kj/kg, specific volume of saturated vapour is 1.672 m/kg and pressure is 0.1 mpa.
Answers: 3
image
Engineering, 03.07.2019 15:10, breannaasmith1122
Two flowing streams of argon gas are adiabatically mixed to form a single flow/stream. one stream is 1.5 kg/s at 400 kpa and 200 c while the second stream is 2kg/s at 500 kpa and 100 ? . it is stated that the exit state of the mixed single flow of argon gas is 150 c and 300 kpa. assuming there is no work output or input during the mixing process, does this process violate either the first or the second law or both? explain and state all your assumptions.
Answers: 1
image
Engineering, 04.07.2019 18:10, tjeffers90028
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
image
Engineering, 04.07.2019 18:10, aliopqwas
Condition monitoring is a major component of. (clo4) a)- predictive maintenance. b)-preventive maintenance c)-proactive maintenance d)-reactive maintenance.
Answers: 1
You know the right answer?
In this problem, we’ll use the following definitions of operations on languages (sets of strings) a,...

Questions in other subjects: