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
dlinn [17]
3 years ago
11

Write a grammar for a language whose sentences start with an even and non-zero number of x’s, end with an odd number of z’s, and

have a number of y’s in between equal to the total number of x’s and z’s in the sentence. For example, xxyyyyyzzz is a valid sentence.
Engineering
1 answer:
sveta [45]3 years ago
3 0

Answer:

GRAMMAR

S -> AB

A -> xxAyy | xxyy

B -> yyBzz | yz

EXPLANATION

A is for even number of x's followed by that number of y's

B is for odd number of y's followed by that number of z's

You might be interested in
A circular hoop sits in a stream of water, oriented perpendicular to the current. If the area of the hoop is doubled, the flux (
natka813 [3]

Answer:

The flux (volume of water per unit time) through the hoop will also double.

Explanation:

The flux = volume of water per unit time = flow rate of water through the hoop.

The Flow rate of water through the hoop is proportional to the area of the hoop, and the velocity of the water through the hoop.

This means that

Flow rate = AV

where A is the area of the hoop

V is the velocity of the water through the hoop

This flow rate = volume of water per unit time = Δv/Δt =Q

From all the above statements, we can say

Q = AV

From the equation, if we double the area, and the velocity of the stream of water through the hoop does not change, then, the volume of water per unit time will also double or we can say increases by a factor of 2

3 0
4 years ago
What type of engineer would be most likely to develop a design for cars? chemical civil materials mechanical
Andreyy89
I don’t know but good luck
4 0
3 years ago
Argue the importance to society of incorporating green building into an engineer’s designs, with at least two examples.
klio [65]
It is important because now a days we all need help from engineers
3 0
3 years ago
Explain Flags in ARM Processor​
kipiarov [429]

Answer:

The ARM processor normally contains at least the Z, N, C, and V flags, which are updated by execution of data processing instructions.

Explanation:

3 0
3 years ago
Assuming the transition to turbulence for flow over a flat plate happens at a Reynolds number of 5x105, determine the following
torisob [31]

Given:

Assuming the transition to turbulence for flow over a flat plate happens at a Reynolds number of 5x105, determine the following for air at 300 K and engine oil at 380 K. Assume the free stream velocity is 3 m/s.

To Find:

a. The distance from the leading edge at which the transition will occur.

b. Expressions for the momentum and thermal boundary layer thicknesses as a function of x for a laminar boundary layer

c. Which fluid has a higher heat transfer

Calculation:

The transition from the lamina to turbulent begins when the critical Reynolds

number reaches 5\times 10^5

(a).  \;\text{Rex}_{cr}=5 \times 10^5\\\\\frac{\rho\;vx}{\mu}=5 \times 10^5\\\text{density of of air at}\;300K=1.16  \frac{kg}{m\cdot s}\\\text{viscosity of of air at}\;300K=1.846 \times 10^{-5} \frac{kg}{m\cdot s} \\v=3m/s\\\Rightarrow x=\frac{5\times 10^5 \times 1.846 \times 10^{-5} }{1.16 \times 3} =2.652 \;m \;\text{for air}\\(\text{similarly for engine oil at 380 K for given}\; \rho \;\text{and} \;\mu)\\

(b).\; \text{For the lamina boundary layer momentum boundary layer thickness is given by}:\\\frac{\delta}{x} =\frac{5}{\sqrt{R_e}}\;\;\;\;\quad\text{for}\; R_e(c). \frac{\delta}{\delta_t}={P_r}^{\frac{r}{3}}\\\text{For air} \;P_r \;\text{equivalent 1 hence both momentum and heat dissipate with the same rate for oil}\; \\P_r >>1 \text{heat diffuse very slowly}\\\text{So heat transfer rate will be high for air.}\\\text{Convective heat transfer coefficient will be high for engine oil.}

7 0
3 years ago
Other questions:
  • Fatigue failure occurs under the condition of (a) High elastic stress (b) High corrosivity (c) High stress fluctuations (d) High
    9·1 answer
  • A part made from annealed AISI 1018 steel undergoes a 20 percent cold-work operation. Obtain the yield strength and ultimate str
    10·1 answer
  • tech a says that a tire with more wear on the center of the tread is caused by under inflation of the size tech b says featherin
    12·1 answer
  • What is the composition, in atom percent, of an alloy that consists of 4.5 wt% Pb and 95.5 wt% Sn?
    13·1 answer
  • The flow curve for a certain metal has parameters: strain-hardening
    8·1 answer
  • Given a series of numbers as input, add them up until the input is 10 and print the total. Do not add the final 10. For example,
    7·1 answer
  • In an apartment the interior air temperature is 20°C and exterior air temperatures is 5°C. The wall has inner and outer surface
    8·1 answer
  • Who is the inventor that created the light bulb
    15·1 answer
  • What does the current in a semi-conductor is produced by?
    15·2 answers
  • I want a real answer to this, not just take my points
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!