Engineering
23.08.2020 04:47
202
405
5
Solved by an expert

Write a grammar for a language whose sentences start with an even and non-zero number

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, xxzzz is a valid sentence.
Show Answers
miller5452
miller5452
4,6(91 marks)

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

samueldfhung
samueldfhung
4,4(56 marks)

Fourth option is correct. The length of B'C' is 1 unit.

Step-by-step explanation:

The vertices of triangle ABC are A = (2, 2), B = (4, 3), and C = (6, 3).

Distance formula:

D=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}

BC=\sqrt{(6-4)^2+(3-3)^2}=2

The length of BC is 2 units.

It is given that ΔABC is dilated by a scale factor of 0.5 with the origin as the center of dilation, resulting in the image ΔA′B′C′.

It means the ΔABC and ΔA′B′C′ are similar and corresponding sides of ΔA′B′C′ and ΔABC are proportional.

k=\frac{B'C'}{BC}

The scale factor is 0.5.

0.5=\frac{B'C'}{2}

0.5\times 2=B'C'

1=B'C'

Therefore the length of B'C' is 1 unit and fourth option is correct.

Popular Questions about the subject: Engineering

Which option demonstrates what will happen once a prototype is developed?...
Engineering
17.09.2021 08:34
PLEASE HELP The notes Eb-G-Bb make up what chord? Choose one • 4...
Engineering
15.04.2021 03:24
Why is tubing sometimes coiled when installed in a car or vechile...
Engineering
28.11.2020 10:08
Need help, I will give a cookie to correct answer. -( branliest)-...
Engineering
08.03.2021 04:42
What is the flux density in a magnetic field of cross-sectional...
Engineering
13.11.2021 10:50

New questions by subject

3x+4-x/2=19 what is the value for x...
Biology
13.08.2020 10:31
In the library, the friends a. they study c. eat b. they dance d....
Spanish
27.01.2022 18:21
100 pts. will mark brainliest. newman inc received a bill for cleaning...
Mathematics
27.04.2022 21:54
Which method of dating would you use with frozen fossils and why?...
Biology
26.05.2023 03:13
#
#
#
#
# #

We expand our knowledge with many expert answers