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
What is an example of a traditional career?
vladimir2022 [97]

Answer:

C, Teacher

Explanation:

7 0
2 years ago
Read 2 more answers
if you had 100 B size sheets and you cut them into A size sheets, how many sheets of A size paper would you have
castortr0y [4]

Answer:

200

Explanation:

A size sheets (also known as letter size) are 8.5 inches by 11 inches.

B size sheets (also known as ledger size) are 11 inches by 17 inches.

One B size sheet is twice as large as a A size sheet.  So if you have 100 B size sheets and cut each one in half, you'll get 200 A size sheets.

8 0
3 years ago
Which statement most accurately describes Pascal's law?
marin [14]

Answer:

La  C

Explanation:

7 0
3 years ago
Read 2 more answers
What should always be done before beginning any diagnosis?
vladimir2022 [97]

Answer:

c

Explanation:

if someone is wrong that they can help with

4 0
3 years ago
A Rankine steam power plant is considered. Saturated water vapor enters a turbine at 8 MPa and exits at condenser at 10 kPa. The
Ray Of Light [21]

Answer:

0.31

126.23 kg/s

Explanation:

Given:-

- Fluid: Water

- Turbine: P3 = 8MPa , P4 = 10 KPa , nt = 85%

- Pump: Isentropic

- Net cycle-work output, Wnet = 100 MW

Find:-

- The thermal efficiency of the cycle

- The mass flow rate of steam

Solution:-

- The best way to deal with questions related to power cycles is to determine the process and write down the requisite properties of the fluid at each state.

First process: Isentropic compression by pump

       P1 = P4 = 10 KPa ( condenser and pump inlet is usually equal )

      h1 = h-P1 = 191.81 KJ/kg ( saturated liquid assumption )

       s1 = s-P1 = 0.6492 KJ/kg.K

       v1 = v-P1 = 0.001010 m^3 / kg

       

       P2 = P3 = 8 MPa( Boiler pressure - Turbine inlet )

       s2 = s1 = 0.6492 KJ/kg.K   .... ( compressed liquid )

- To determine the ( h2 ) at state point 2 : Pump exit. We need to determine the wok-done by pump on the water ( Wp ). So from work-done principle we have:

   

                           w_p = v_1*( P_2 - P_1 )\\\\w_p = 0.001010*( 8000 - 10 )\\\\w_p = 8.0699 \frac{KJ}{kg}

- From the following relation we can determine ( h2 ) as follows:

                          h2 = h1 + wp

                          h2 = 191.81 + 8.0699

                          h2 = 199.88 KJ/kg

                           

Second Process: Boiler supplies heat to the fluid and vaporize

- We have already evaluated the inlet fluid properties to the boiler ( pump exit property ).

- To determine the exit property of the fluid when the fluid is vaporized to steam in boiler ( super-heated phase ).

              P3 = 8 MPa

              T3 = ?  ( assume fluid exist in the saturated vapor phase )

              h3 = hg-P3 = 2758.7 KJ/kg

              s3 = sg-P3 = 5.7450 KJ/kg.K

- The amount of heat supplied by the boiler per kg of fluid to the water stream. ( qs ) is determined using the state points 2 and 3 as follows:

                          q_s = h_3 - h_2\\\\q_s = 2758.7 -199.88\\\\q_s = 2558.82 \frac{KJ}{kg}

Third Process: The expansion ( actual case ). Turbine isentropic efficiency ( nt ).

- The saturated vapor steam is expanded by the turbine to the condenser pressure. The turbine inlet pressure conditions are similar to the boiler conditions.

- Under the isentropic conditions the steam exits the turbine at the following conditions:

             P4 = 10 KPa

             s4 = s3 = 5.7450 KJ/kg.K ... ( liquid - vapor mixture phase )

             

- Compute the quality of the mixture at condenser inlet by the following relation:

                           x = \frac{s_4 - s_f}{s_f_g} \\\\x = \frac{5.745- 0.6492}{7.4996} \\\\x = 0.67947

- Determine the isentropic ( h4s ) at this state as follows:

                          h_4_s = h_f + x*h_f_g\\\\h_4_s = 191.81 + 0.67947*2392.1\\\\h_4_s = 1817.170187 \frac{KJ}{kg}        

- Since, we know that the turbine is not 100% isentropic. We will use the working efficiency and determine the actual ( h4 ) at the condenser inlet state:

                         h4 = h_3 - n_t*(h_3 - h_4_s ) \\\\h4 = 2758.7 - 0.85*(2758.7 - 181.170187 ) \\\\h4 = 1958.39965 \frac{KJ}{kg} \\

- We can now compute the work-produced ( wt ) due to the expansion of steam in turbine.

                        w_t = h_3 - h_4\\\\w_t = 2758.7-1958.39965\\\\w_t = 800.30034 \frac{KJ}{kg}

- The net power out-put from the plant is derived from the net work produced by the compression and expansion process in pump and turbine, respectively.

                       W_n_e_t = flow(m) * ( w_t - w_p )\\\\flow ( m ) = \frac{W_n_e_t}{w_t - w_p} \\\\flow ( m ) = \frac{100000}{800.30034-8.0699} \\\\flow ( m ) = 126.23 \frac{kg}{s}

Answer: The mass flow rate of the steam would be 126.23 kg/s

- The thermal efficiency of the cycle ( nth ) is defined as the ratio of net work produced by the cycle ( Wnet ) and the heat supplied by the boiler to the water ( Qs ):

                        n_t_h = \frac{W_n_e_t}{flow(m)*q_s} \\\\n_t_h = \frac{100000}{126.23*2558.82} \\\\n_t_h = 0.31

Answer: The thermal efficiency of the cycle is 0.31

       

   

7 0
3 years ago
Other questions:
  • The manufacturer of a 1.5 V D flashlight battery says that the battery will deliver 9 mA for 40 continuous hours. During that ti
    11·1 answer
  • The uniform crate has a mass of 50 kg and rests on the cart having an inclined surface. Determine the smallest acceleration that
    10·1 answer
  • which systems engineering support discipline has the goal to ensure that support considerations are an integral part of the syst
    14·1 answer
  • What effect will increasing numbers of high-profile green building projects likely have on thinking about building?
    5·1 answer
  • W<br>n só<br>i<br>Eo<br>E<br>find the transfer function​
    9·1 answer
  • How much thermal energy is needed to raise the temperature of 15kg gold from 45⁰ C up to 80⁰ C​
    10·1 answer
  • 7 to 1 inch above the stock
    5·1 answer
  • Valorant Or Csgo? which is best in your opinion?
    9·2 answers
  • Rivet gauge, or transverse pitch is the distance between the Group of answer choices heads of rivets in the same row. centers of
    11·1 answer
  • You need to lift a 2012 toyota highlander and haven't done so in a while. which of these are reliable sources for checking the c
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!