DISCRETE MATHEMATICS+ITS APPL. (LL)-W/A
8th Edition
ISBN: 9781260521337
Author: ROSEN
Publisher: MCG
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 13.2, Problem 7E
Construct a finite-state machine that models an old-fashioned soda machine that accepts nickels, dimes, and quarters. The soda machine accepts change until 35 cents has been put in. It gives change back of any amount greater than 35 cents. Then the customer can push buttons to receive either a cola, a root beer, or a ginger ale.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
55
5.5
A glass bottle manufacturing company has recorded data on the average
number of defects per 10,000 bottles due to stones (small pieces of rock
embedded in the bottle wall) and the number of weeks since the last furnace
overhaul. The data are shown below.
Defects per 10,000
Weeks
13.0
4
16.1
5
14.5
6
17.8
7
22.0
8
27.4
9
16.8
10
65.6
☐☐
Defects per 10,000
Weeks
34.2
11
12
49.2
13
66.2
81.2
87.4
14
15
16
114.5
17
a. Fit a straight-line regression model to the data and perform the standard
tests for model adequacy.
b. Suggest an appropriate transformation to eliminate the problems encoun-
tered in part a. Fit the transformed model and check for adequacy.
An article describes an experiment in which several types of boxes were compared with respect to compression strength (lb). The table below presents the results of a single-factor ANOVA experiment involving I = 4 types of boxes.
Type of Box
Compression Strength (lb)
Sample Mean Sample SD
1
655.5 788.3 734.3 721.4 679.1 699.4
713.00
46.55
2
3
789.2 772.5 786.9 686.1 732.1 774.8
737.1 639.0 696.3 671.7 717.2 727.1
756.93
40.34
4
535.1 628.7 542.4 559.0 586.9 520.0
698.07
562.02
37.20
39.87
ЛUSE SALT
Suppose that the compression strength observations on the fourth type of box had been 648.1, 741.7, 655.4, 672.0, 699.9, and 633.0 (obtained by adding 113 to each previous X4;). Assuming no change in the remaining observations, carry out an F test with α = 0.05.
State the appropriate hypotheses.
O Ho M₁ =μ₂ = μ3 = μ4
Ha at least two μ's are unequal
Ho: M₁ = μ2 #M3 #μ4
H₂:
all four μ's are equal
O Ho M₁ = M2 = μ3 = μ4
Ha all four μ's are unequal
#
=
O Ho: M1 M2 M3 & M4
Ha at least two μ's are…
Find the domain of each function.
f(x)
=
tan 2x
-
πT
6
Chapter 13 Solutions
DISCRETE MATHEMATICS+ITS APPL. (LL)-W/A
Ch. 13.1 - Exercises 1-3 refer to the grammar with start...Ch. 13.1 - Exercises 1-3 refer to the grammar with start...Ch. 13.1 - Prob. 3ECh. 13.1 - Let G=(V,T,S,P) be the phrase-structure grammar...Ch. 13.1 - Prob. 5ECh. 13.1 - Prob. 6ECh. 13.1 - Prob. 7ECh. 13.1 - Show that the grammar given in Example 5 generates...Ch. 13.1 - Prob. 9ECh. 13.1 - Prob. 10E
Ch. 13.1 - Construct a derivation of 021222 in the grammar...Ch. 13.1 - Show that the grammar given in Example 7 generates...Ch. 13.1 - s13. Find a phrase-structure grammar for each of...Ch. 13.1 - Find a phrase-structure grammar for each of these...Ch. 13.1 - Find a phrase-structure grammar for each of these...Ch. 13.1 - Construct phrase-structure grammars to generate...Ch. 13.1 - Construct phrase-structure grammars to generate...Ch. 13.1 - Construct phrase-structure grammars to generate...Ch. 13.1 - Prob. 19ECh. 13.1 - A palindrome is a string that reads the same...Ch. 13.1 - Let G1 and G2 be context-free grammars, generating...Ch. 13.1 - Prob. 22ECh. 13.1 - Construct derivation trees for the sentences in...Ch. 13.1 - Let G be the grammar with V={a,b,c,S};T={a,b,c} ;...Ch. 13.1 - Prob. 25ECh. 13.1 - Prob. 26ECh. 13.1 - Prob. 27ECh. 13.1 - a) Explain what the productions are in a grammar...Ch. 13.1 - Prob. 29ECh. 13.1 - a) Construct a phrasestructure grammar for the set...Ch. 13.1 - Give production rules in Backus-Naur form for an...Ch. 13.1 - Prob. 32ECh. 13.1 - Prob. 33ECh. 13.1 - Prob. 34ECh. 13.1 - Prob. 35ECh. 13.1 - Prob. 36ECh. 13.1 - Prob. 37ECh. 13.1 - Prob. 38ECh. 13.1 - Prob. 39ECh. 13.1 - Prob. 40ECh. 13.1 - Prob. 41ECh. 13.1 - Let G be a grammar and let R be the relation...Ch. 13.2 - Draw the state diagrams for the finite-state...Ch. 13.2 - Give the state tables for the finite-state machine...Ch. 13.2 - Find the output generated from the input string...Ch. 13.2 - Find the output generated from the input string...Ch. 13.2 - Find the output for each of these input strings...Ch. 13.2 - Find the output for each of these input strings...Ch. 13.2 - Construct a finite-state machine that models an...Ch. 13.2 - Prob. 8ECh. 13.2 - Construct a finite-state machine that delays an...Ch. 13.2 - Construct a finite-state machine that changes...Ch. 13.2 - Construct a finite-state machine for the log-on...Ch. 13.2 - Construct a finite-state machine for lock that...Ch. 13.2 - Construct a finite-state machine for a toll...Ch. 13.2 - Construct a finite-state machine for entering a...Ch. 13.2 - Construct a finite-state machine for a restricted...Ch. 13.2 - Construct a finite-state machine that gives an...Ch. 13.2 - Prob. 17ECh. 13.2 - Construct a finite-state machine that determines...Ch. 13.2 - Construct a finite-state machine that determines...Ch. 13.2 - Prob. 20ECh. 13.2 - Prob. 21ECh. 13.2 - Find the output string generated by the Moore...Ch. 13.2 - Prob. 23ECh. 13.2 - Construct a Moore machine that gives an output of...Ch. 13.2 - Prob. 25ECh. 13.3 - Prob. 1ECh. 13.3 - 2. Show that if A is a set of strings, then.
Ch. 13.3 - Find all pairs of sets of strings A and B for...Ch. 13.3 - Show that these equalities hold. a) {}*={} b)...Ch. 13.3 - Prob. 5ECh. 13.3 - Prob. 6ECh. 13.3 - Prob. 7ECh. 13.3 - Prob. 8ECh. 13.3 - Prob. 9ECh. 13.3 - Determine whether the string 01001 is in each of...Ch. 13.3 - Determine whether each of these strings is...Ch. 13.3 - Determine whether each of these strings is...Ch. 13.3 - Determine whether all the strings in each of these...Ch. 13.3 - Show that if M=(S,I,f,so,F) is a deterministic...Ch. 13.3 - Given a finite-state automaton M=(S,I,f,so,F) ,...Ch. 13.3 - In Exercises 16—22 find the language recognized by...Ch. 13.3 - In Exercises 16—22 find the language recognized by...Ch. 13.3 - Prob. 18ECh. 13.3 - Prob. 19ECh. 13.3 - In Exercises 16—22 find the language recognized by...Ch. 13.3 - In Exercises 16—22 find the language recognized by...Ch. 13.3 - Prob. 22ECh. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Prob. 27ECh. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Prob. 29ECh. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Construct a deterministic finite-state automaton...Ch. 13.3 - Prob. 33ECh. 13.3 - Prob. 34ECh. 13.3 - Prob. 35ECh. 13.3 - Prob. 36ECh. 13.3 - Prob. 37ECh. 13.3 - Prob. 38ECh. 13.3 - Prob. 39ECh. 13.3 - Use Exercise 39 finite-state automata constructed...Ch. 13.3 - Prob. 41ECh. 13.3 - Prob. 42ECh. 13.3 - Prob. 43ECh. 13.3 - Prob. 44ECh. 13.3 - Prob. 45ECh. 13.3 - In Exercises 43-49 find the language recognized by...Ch. 13.3 - Prob. 47ECh. 13.3 - In Exercises 43-49 find the language recognized by...Ch. 13.3 - Prob. 49ECh. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Prob. 51ECh. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Find a deterministic finite-state automaton that...Ch. 13.3 - Find a nondeterministic finite-state automaton...Ch. 13.3 - Prob. 57ECh. 13.3 - Prob. 58ECh. 13.3 - Prob. 59ECh. 13.3 - Prob. 60ECh. 13.3 - Prob. 61ECh. 13.3 - Prob. 62ECh. 13.4 - Describe in words the strings in each of these...Ch. 13.4 - Prob. 2ECh. 13.4 - Prob. 3ECh. 13.4 - Prob. 4ECh. 13.4 - Express each of these sets using a regular...Ch. 13.4 - Express each of these sets using a regular...Ch. 13.4 - Express each of these sets using a regular...Ch. 13.4 - Construct deterministic finite-state automata that...Ch. 13.4 - Construct nondeterministic finite-state automata...Ch. 13.4 - Construct nondeterministic finite-state automata...Ch. 13.4 - Show that if A is a regular set, then AR, the set...Ch. 13.4 - Using the construction described in the proof of...Ch. 13.4 - Using the construction described in the proof of...Ch. 13.4 - Construct a nondeterministic finite-state...Ch. 13.4 - In Exercises 15-17 conflict a regular grammar...Ch. 13.4 - In Exercises 15-17 conflict a regular grammar...Ch. 13.4 - In Exercises 15-17 conflict a regular grammar...Ch. 13.4 - Show that the finite-state automaton constructed...Ch. 13.4 - Show that the regular grammar constructed from a...Ch. 13.4 - Show that every nondeterministic finite-state...Ch. 13.4 - Let M=(S,I,f,s0,F) be a deterministic finite-state...Ch. 13.4 - One important technique used to prove that certain...Ch. 13.4 - Show that the set 02n1nn=0,1,2,... is not regular...Ch. 13.4 - Show that the set {1n2n=0,1,2,...} is not regular...Ch. 13.4 - Show that the set of palindromes over {0, 1} is...Ch. 13.4 - Prob. 26ECh. 13.4 - Prob. 27ECh. 13.4 - Prob. 28ECh. 13.4 - Prob. 29ECh. 13.4 - Prob. 30ECh. 13.4 - Use Exercise 29 to show that the language...Ch. 13.5 - Let T be the Turing machine defined by the...Ch. 13.5 - Let T be the Turing machine defined by the...Ch. 13.5 - What does the Turing machine defined by the...Ch. 13.5 - What does the Turing machine described by the...Ch. 13.5 - What does the Turing machine described by the...Ch. 13.5 - Construct a Turing machine with tape 0, 1, and B...Ch. 13.5 - Construct a Turning machine with tape symbols 0,...Ch. 13.5 - Construct a Turing machine with tape symbols 0, 1,...Ch. 13.5 - Construct a Turing machine with tape symbols 0, 1,...Ch. 13.5 - Construct a Turing machine with tape symbols 0, 1,...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Show at each step the contents of the tape of the...Ch. 13.5 - Explain why the Turing machine in Example 3...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Construct a Turing machine that recognizes the set...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turing machine that computes the...Ch. 13.5 - Construct a Turning machine that computes the...Ch. 13.5 - Prob. 27ECh. 13.5 - Prob. 28ECh. 13.5 - Which of the following problems is a decision...Ch. 13.5 - Which of the following problems is a decision...Ch. 13.5 - Prob. 31ECh. 13.5 - Show that the function B(n) cannot be computed by...Ch. 13 - a) Define a phrase-structure grammar. b) What does...Ch. 13 - a) What is the language generated by a...Ch. 13 - Prob. 3RQCh. 13 - Prob. 4RQCh. 13 - Prob. 5RQCh. 13 - a) What is a finite-state machine? b) Show how a...Ch. 13 - Prob. 7RQCh. 13 - Prob. 8RQCh. 13 - Prob. 9RQCh. 13 - Prob. 10RQCh. 13 - a) Define a nondeterministic finite-state...Ch. 13 - a) Define the set of regular expressions over a...Ch. 13 - Prob. 13RQCh. 13 - Prob. 14RQCh. 13 - Prob. 15RQCh. 13 - Prob. 16RQCh. 13 - Describe how Turing machines are used to recognize...Ch. 13 - Prob. 18RQCh. 13 - Prob. 19RQCh. 13 - Prob. 1SECh. 13 - Prob. 2SECh. 13 - Prob. 3SECh. 13 - Prob. 4SECh. 13 - Prob. 5SECh. 13 - Prob. 6SECh. 13 - Prob. 7SECh. 13 - Prob. 8SECh. 13 - Prob. 9SECh. 13 - Prob. 10SECh. 13 - Prob. 11SECh. 13 - Prob. 12SECh. 13 - Prob. 13SECh. 13 - Construct a finite-state machine with output that...Ch. 13 - Construct a finite-state machine with output that...Ch. 13 - Prob. 16SECh. 13 - Prob. 17SECh. 13 - Prob. 18SECh. 13 - Construct a deterministic finite-state automaton...Ch. 13 - Prob. 20SECh. 13 - Prob. 21SECh. 13 - Prob. 22SECh. 13 - Prob. 23SECh. 13 - Prob. 24SECh. 13 - Prob. 25SECh. 13 - Show that {02nnN} is not regular. You may use the...Ch. 13 - Prob. 27SECh. 13 - Prob. 28SECh. 13 - Construct a Turing machine that computes the...Ch. 13 - Prob. 30SECh. 13 - Prob. 1CPCh. 13 - Prob. 2CPCh. 13 - Prob. 3CPCh. 13 - Prob. 4CPCh. 13 - Given the state table of a Moore machine and an...Ch. 13 - Given the state table of a Mealy machine and an...Ch. 13 - Given the state table of a deterministic...Ch. 13 - Prob. 8CPCh. 13 - Prob. 9CPCh. 13 - Prob. 10CPCh. 13 - Given a regular grammar, construct a finite-state...Ch. 13 - Given a finite-state automaton, construct a...Ch. 13 - Prob. 13CPCh. 13 - Solve the busy beaver problem for two states by...Ch. 13 - Prob. 2CAECh. 13 - Prob. 3CAECh. 13 - Prob. 4CAECh. 13 - Prob. 5CAECh. 13 - Prob. 1WPCh. 13 - Describe the Backus-Naur form (and extended...Ch. 13 - Explain how finite-state machines are used by...Ch. 13 - Explain how finite-state machines are used in the...Ch. 13 - Explain how finite-state machines are used in...Ch. 13 - Compare the use of Moore machines versus Mealy...Ch. 13 - Explain the concept of minimizing finite-state...Ch. 13 - Give the definition of cellular automata, Explain...Ch. 13 - Define a pushdown automaton. Explain how pushdown...Ch. 13 - Define a linear-bounded automaton. Explain how...Ch. 13 - Prob. 11WPCh. 13 - Prob. 12WPCh. 13 - Prob. 13WPCh. 13 - Show that a Turing machine can simulate any action...Ch. 13 - Prob. 15WPCh. 13 - Describe the basic concepts of the lambda-calculus...Ch. 13 - Show that a Turing machine as defined in this...Ch. 13 - Prob. 18WP
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, subject and related others by exploring similar questions and additional content below.Similar questions
- One estimate of the proportion of children with autism in the United States is 1 in 100 (Source: http://www.cbsnews.com/stories/2009/10/05/health/main5363192.shtml). Suppose you are interested in the rate of autism among current school-aged children in Utah. You collect a sample of 400 children between the ages of 5 and 18 and find that three have had a previous diagnosis of an autism disorder. You plan to calculate a 95% confidence interval estimator of the proportion of school-aged children in Utah who have ever had a diagnosis of an autism disorder. Which of the following is the most likely reason you would use a Wilson estimator to calculate the confidence interval estimator? It is uncomfortable to define having been diagnosed with autism as a success. It is possible that if even the actual proportion in Utah is 1%, your sample may only have very few children who have had a previous diagnosis of an autism disorder. It is an easier way to calculate the confidence…arrow_forwardIn an experiment to compare the tensile strengths of I = 6 different types of copper wire, J = 5 samples of each type were used. The between-samples and within-samples estimates of σ² were computed as MSTr = 2623.3 and MSE = 1193.2, respectively. Use the F test at level 0.05 to test Ho: μ₁ = M2 μ6 versus Ha: at least two μ's are unequal. = ...= You can use the Distribution Calculators page in SALT to find critical values and/or p-values to answer parts of this question. Calculate the test statistic. (Round your answer to two decimal places.) f = What can be said about the P-value for the test? P-value>0.100 0.050 P-value < 0.100 0.010 P-value < 0.050 0.001 P-value < 0.010 P-value <0.001 State the conclusion in the problem context. Reject Ho. The data indicates there is not a difference in the mean tensile strengths. Fail to reject Ho. The data indicates a difference in the mean tensile strengths. Reject Ho. The data indicates a difference in the mean tensile strengths. Fail to reject…arrow_forwardshow step by step answerarrow_forward
- Write the given third order linear equation as an equivalent system of first order equations with initial values. Use Y1 = Y, Y2 = y', and y3 = y". - - √ (3t¹ + 3 − t³)y" — y" + (3t² + 3)y' + (3t — 3t¹) y = 1 − 3t² \y(3) = 1, y′(3) = −2, y″(3) = −3 (8) - (888) - with initial values Y = If you don't get this in 3 tries, you can get a hint.arrow_forwardThe system of first order differential equations y₁ = -4y1 - 1y2 y2 = 1y1 - 2y2 where y1(0) = −8, y2(0) = 6 has solution yı(t) = Y2(t) =arrow_forwardQuestion 2 1 pts Let A be the value of the triple integral SSS. (x³ y² z) dV where D is the region D bounded by the planes 3z + 5y = 15, 4z — 5y = 20, x = 0, x = 1, and z = 0. Then the value of sin(3A) is -0.003 0.496 -0.408 -0.420 0.384 -0.162 0.367 0.364arrow_forward
- Question 1 Let A be the value of the triple integral SSS₂ (x + 22) = 1 pts dV where D is the region in 0, y = 2, y = 2x, z = 0, and the first octant bounded by the planes x z = 1 + 2x + y. Then the value of cos(A/4) is -0.411 0.709 0.067 -0.841 0.578 -0.913 -0.908 -0.120arrow_forwardProblem 2-6. Need help on why its 1.22arrow_forwardScenario: As a data analyst for a retail company, you are tasked with examining the relationship between televisions screen size, and prices. Your analysis will involve both correlation and regression methods to quantify and interpret this relationship Make a Scatterplot of screen size vs. price. Explain in one sentence, does there appear to be a positive or a negative correlation between price and screen size? Paste a snapshot of the plot here. Please do not copy paste. Question 1: What is the value of correlation coefficient between screen size and price? Discuss the direction of the relationship (positive, negative, or zero relationship). Also discuss the strength of the relationship Estimate the relationship between screen size and price using a simple linear regression model and interpret the estimated coefficients. In your interpretation, tell the dollar amount by which price will change for each unit of increase in screen size. (The answer for the second part of this…arrow_forward
- In the xy-plane, the graphs of the linear function and the exponential function E both pass through the points (0,2) and (1,6) The function f is given by f(x) = L(x) - E(x). What is the maximum value of f? A 0.007 B 0.172 C 0.540 D 1.002arrow_forwardTasks: A company manufactures two electronic products: Chipsets and LCD. Each product contributes differently to the profit. The production process is subject to constraints related to labour, manufacturing space, raw materials, and production time. You are required to determine the optimal production quantities for each product to maximize profit: • Develop and formulate a Linear programming model for the variables and constraints from the above context as given in Table 1 & 2. Assume Right-Hand Side (R.H.S) values for all elements and find the maximum profit and optimal variable values using graphical method (40%). Table I Variables Chipsets Profit Per Unit Assume as per convenience and Model Fit Assume as per convenience and Model Fit dictions: On LCD Table II Constraints Labour Manufacturing Space Raw Materials Production Time Units No of Labors Square Meters Kilograms Minutes Identify the feasible region and construct the graph using the graphical method. Evaluate, present. Find…arrow_forwardvery time you conduct a hypothesis test, there are four possible outcomes of your decision to reject or not reject the null hypothesis: (1) You don’t reject the null hypothesis when it is true, (2) you reject the null hypothesis when it is true, (3) you don’t reject the null hypothesis when it is false, and (4) you reject the null hypothesis when it is false. Consider the following analogy: You are an airport security screener. For every passenger who passes through your security checkpoint, you must decide whether to select the passenger for further screening based on your assessment of whether he or she is carrying a weapon. Suppose your null hypothesis is that the passenger has a weapon. As in hypothesis testing, there are four possible outcomes of your decision: (1) You select the passenger for further inspection when the passenger has a weapon, (2) you allow the passenger to board her flight when the passenger has a weapon, (3) you select the passenger for further inspection when…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Algebra for College StudentsAlgebraISBN:9781285195780Author:Jerome E. Kaufmann, Karen L. SchwittersPublisher:Cengage LearningIntermediate AlgebraAlgebraISBN:9781285195728Author:Jerome E. Kaufmann, Karen L. SchwittersPublisher:Cengage Learning
- Algebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage Learning
Algebra for College Students
Algebra
ISBN:9781285195780
Author:Jerome E. Kaufmann, Karen L. Schwitters
Publisher:Cengage Learning
Intermediate Algebra
Algebra
ISBN:9781285195728
Author:Jerome E. Kaufmann, Karen L. Schwitters
Publisher:Cengage Learning
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning
UG/ linear equation in linear algebra; Author: The Gate Academy;https://www.youtube.com/watch?v=aN5ezoOXX5A;License: Standard YouTube License, CC-BY
System of Linear Equations-I; Author: IIT Roorkee July 2018;https://www.youtube.com/watch?v=HOXWRNuH3BE;License: Standard YouTube License, CC-BY