subject
Mathematics, 19.02.2020 01:44 lolo8787

Define a set S recursively as follows: I. BASE: (the empty word), a, and b are in S. II. RECURSION: If s ∈ S, then a. asa ∈ S b. bsb ∈ S III. RESTRICTION: No words are in S other than those derived from I and II above.(a) Give a derivation showing that bab is in S.(b) Give a derivation showing that baab is in S.(c) Use structural induction to prove that every string in S is a palindrome. If it makes things easier, you can use the notation s to denote reversing a word (e. g., abb = bba).(d) Argue that abb is not in S

ansver
Answers: 1

Another question on Mathematics

question
Mathematics, 21.06.2019 19:30
Which inequality has a dashed boundary line when graphed ?
Answers: 2
question
Mathematics, 21.06.2019 20:20
Abag contains 3 red marbles, 2 blue marbles, and 2 green marbles. one marble is picked, then another marble. assume that the selections are made with replacement. a) find the probability of picking two red marbles with replacement. b) find the probability of picking a red marble and a blue marble. assume the selections are made without replacement. c) find the probability of picking two red marbles without replacement. d) find the probability of picking a red marble and a blue marble without replacement.
Answers: 1
question
Mathematics, 21.06.2019 20:30
Steve had 48 chocolates but he decided to give 8 chocolats to each of his f coworkers. how many chocolates does steve have left
Answers: 1
question
Mathematics, 21.06.2019 20:30
What is the length of the segment, endpoints of which are intersections of parabolas y=x2? 11 4 x? 7 4 and y=? 7 8 x2+x+ 31 8 ?
Answers: 2
You know the right answer?
Define a set S recursively as follows: I. BASE: (the empty word), a, and b are in S. II. RECURSION:...
Questions
question
Mathematics, 26.03.2020 02:56
question
Biology, 26.03.2020 02:56
question
Mathematics, 26.03.2020 02:56
question
Mathematics, 26.03.2020 02:56
Questions on the website: 13722363