1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
slega [8]
3 years ago
15

Prove the following languages are nonregular, once using the pumping lemma and once using the Myhill-Nerode theorem. When using

the pumping lemma, try to use the most general (least restrictive) case:i) The language where the longest string of consecutive a's is longer than the longest string of consecutive b'sii) aibjajiii) aibjck, where k ≤ i+jiv) aibjck, where i is neither the least nor greatest out of i,j, and k.
Engineering
1 answer:
VashaNatasha [74]3 years ago
8 0

Answer:

For any string, we use s = xyz

Explanation:

The pumping lemma says that for any string s in the language, with length greater than the pumping length p, we can write s = xyz with |xy| ≤ p, such that xyi z is also in the language for every i ≥ 0. For the given language, we can take p = 2.

Here are the cases:

  • Consider any string a i b j c k in the language. If i = 1 or i > 2, we take x = \epsilon   and y = a. If i = 1, we must have j = k and adding any number of a’s still preserves the membership in the language. For i > 2, all strings obtained by pumping y as defined above, have two or more a’s and hence are always in the language.
  • For i = 2, we can take    and y = aa. Since the strings obtained by pumping in this case always have an even number of a’s, they are all in the language.
  • Finally, for the case i = 0, we take x = \epsilon  , and y = b if j > 0 and y = c otherwise. Since strings of the form b j c k are always in the language, we satisfy the conditions of the pumping lemma in this case as well.
You might be interested in
A(n)___ branch circuit supplies two or more receptacles or outlets for lighting and appliances
Juli2301 [7.4K]

Answer: General purpose branch circuit

Explanation:

General purpose branch circuit are the type of circuits that are used mainly to supply light to two or more receptacle outlets for small appliances. This circuits are about 120v can be used either in residential, commercial and industrial buildings.

6 0
3 years ago
Design a program that calculates the area and circumstance of rectangle?​
Phantasy [73]
Let “w” and “L” be the width and length of the rectangle. “p” and “a” are perimeter and area
For python,
w=int(input(“width”))
l=int(input(“length”))
a= w*l
p=2*w+2*l
print(str(a), str(p)
4 0
2 years ago
A material point in equilibrium has 1 independent component of shear stress in the xz plane. a)True b)- False
ozzi

Answer:

True

Explanation:

For point in xz plane the stress tensor is given by\left[\begin{array}{ccc}Dx_{} &txz\\tzx&Dz\\\end{array}\right]

where Dx is the direct stress along x ; Dz is direct stress along z ;  tzx and txz are the  shear stress components

We know that the stress tensor matrix is symmetrical which means that tzx = txz  ( obtained by moment equlibrium )

thus we require only 1 independent component of shear stress to define the whole stress tensor at a point in 2D plane

8 0
3 years ago
Air enters a cmpressor at 20 deg C and 80 kPa and exits at 800 kPa and 200 deg C. The power input is 400 kW. Find the heat trans
aksik [14]

Answer:

The heat is transferred is at the rate of 752.33 kW

Solution:

As per the question:

Temperature at inlet, T_{i} = 20^{\circ}C = 273 + 20 = 293 K

Temperature at the outlet, T_{o} = 200{\circ}C = 273 + 200 = 473 K

Pressure at inlet, P_{i} = 80 kPa = 80\times 10^{3} Pa

Pressure at outlet, P_{o} = 800 kPa = 800\times 10^{3} Pa

Speed at the outlet, v_{o} = 20 m/s

Diameter of the tube, D = 10 cm = 10\times 10^{- 2} m = 0.1 m

Input power, P_{i} = 400 kW = 400\times 10^{3} W

Now,

To calculate the heat transfer, Q, we make use of the steady flow eqn:

h_{i} + \frac{v_{i}^{2}}{2} + gH  + Q = h_{o} + \frac{v_{o}^{2}}{2} + gH' + p_{s}

where

h_{i} = specific enthalpy at inlet

h_{o} = specific enthalpy at outlet

v_{i} = air speed at inlet

p_{s} = specific power input

H and H' = Elevation of inlet and outlet

Now, if

v_{i} = 0 and H = H'

Then the above eqn reduces to:

h_{i} + gH + Q = h_{o} + \frac{v_{o}^{2}}{2} + gH + p_{s}

Q = h_{o} - h_{i} + \frac{v_{o}^{2}}{2} + p_{s}                (1)

Also,

p_{s} = \frac{P_{i}}{ mass, m}

Area of cross-section, A = \frac{\pi D^{2}}{4} =\frac{\pi 0.1^{2}}{4} = 7.85\times 10^{- 3} m^{2}

Specific Volume at outlet, V_{o} = A\times v_{o} = 7.85\times 10^{- 3}\times 20 = 0.157 m^{3}/s

From the eqn:

P_{o}V_{o} = mRT_{o}

m = \frac{800\times 10^{3}\times 0.157}{287\times 473} = 0.925 kg/s

Now,

p_{s} = \frac{400\times 10^{3}}{0.925} = 432.432 kJ/kg

Also,

\Delta h = h_{o} - h_{i} = c_{p}\Delta T =c_{p}(T_{o} - T_{i}) = 1.005(200 - 20) = 180.9 kJ/kg

Now, using these values in eqn (1):

Q = 180.9 + \frac{20^{2}}{2} + 432.432 = 813.33 kW

Now, rate of heat transfer, q:

q = mQ = 0.925\times 813.33 = 752.33 kW

4 0
3 years ago
A flow rate sensing device used on a liquid transport pipeline functions as follows. The device provides a 5-bit output where al
marysya [2.9K]

Answer:

Explanation:

The step by step analysis is as shown in the attached files.

8 0
3 years ago
Other questions:
  • In a cellular phone system, a mobile phone must be paged to receive a phone call. However, paging attempts don’t always succeed
    11·1 answer
  • A large part in a turbine-generator unit operates near room temperature and is made of ASTM A470-8 steel ( ). A surface crack ha
    11·1 answer
  • Are spheroidized steels considered as composite? If so, what is the dispersed phase a)- No b)- Yes, Chromium Carbides c)- Yes, I
    12·1 answer
  • At the grocery store you place a pumpkin with a mass of 12.5 lb on the produce spring scale. The spring in the scale operates su
    5·1 answer
  • Are routers better for internet connection rather than a WiFi modem?
    6·2 answers
  • A driver is traveling at 90 km/h down a 3% grade on good, wet pavement. An accident
    11·1 answer
  • Determine the maximum height (in inches) that a lift pump can raise water (0.9971 g/ml) from a well at normal atmospheric pressu
    10·1 answer
  • Technician A says that fuel filler caps with pressure and vacuum vents are used with EVAP system fuel tanks. Technician B says t
    5·1 answer
  • Nec ________ covers selection of time-delay fuses for motor- overload protection.
    6·1 answer
  • Find At Least Three Instances Of Set Constructions In Your CS Courses And Use Them To Exhibit All Set Operations Discussed In Cl
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!