Discrete Mathematics With Applications
Discrete Mathematics With Applications
5th Edition
ISBN: 9781337694193
Author: EPP, Susanna S.
Publisher: Cengage Learning,
bartleby

Videos

Question
Book Icon
Chapter 11.3, Problem 13ES
To determine

(a)

To compute the actual number of elementary operations (addition, subtractions, multiplication, division and comparisons) that are performed when the algorithm segment is executed.

To determine

(b)

To find an order for the algorithm segment by using the theorem on polynomial orders.

for i=1 to n1

for j=i to n

if a[j]>a[i] then do

temp=a[i]

a[i]=a[j]

a[j]=temp

End do

Next j

Next i

Blurred answer
Students have asked these similar questions
Terry has a square plot of land measuring 500 meters by 500 meters.  She divided the land into 25 100-m by 100-m plots and created three raster maps showing the type of mineral, fruit tree, and energy available on each plot.  Use the maps below to shade the blank maps according to each problem.
The bracket BCD is hinged at C and attached to a control cable at B. Let F₁ = 275 N and F2 = 275 N. F1 B a=0.18 m C A 0.4 m -0.4 m- 0.24 m Determine the reaction at C. The reaction at C N Z F2 D
Question 2 A nickel-titanium alloy is used to make components for jet turbine aircraft engines. Cracking is a potentially serious problem in the final part because it can lead to nonrecoverable failure. A test is run at the parts producer to determine the effect of four factors on cracks. The four factors are: pouring temperature (A), titanium content (B), heat treatment method (C), amount of grain refiner used (D). Two replicates of a 24 design are run, and the length of crack (in mm x10-2) induced in a sample coupon subjected to a standard test is measured. The data are shown in Table 2. 1 (a) Estimate the factor effects. Which factor effects appear to be large? (b) Conduct an analysis of variance. Do any of the factors affect cracking? Use a = 0.05. (c) Write down a regression model that can be used to predict crack length as a function of the significant main effects and interactions you have identified in part (b). (d) Analyze the residuals from this experiment. (e) Is there an…

Chapter 11 Solutions

Discrete Mathematics With Applications

Ch. 11.1 - Prob. 5ESCh. 11.1 - Prob. 6ESCh. 11.1 - Prob. 7ESCh. 11.1 - Sketch a graph for each of the functions defined...Ch. 11.1 - Prob. 9ESCh. 11.1 - Prob. 10ESCh. 11.1 - Prob. 11ESCh. 11.1 - Prob. 12ESCh. 11.1 - Prob. 13ESCh. 11.1 - The graph of a function f is shown below. Find the...Ch. 11.1 - Prob. 15ESCh. 11.1 - Prob. 16ESCh. 11.1 - Prob. 17ESCh. 11.1 - Prob. 18ESCh. 11.1 - Prob. 19ESCh. 11.1 - Prob. 20ESCh. 11.1 - Prob. 21ESCh. 11.1 - Prob. 22ESCh. 11.1 - Prob. 23ESCh. 11.1 - Prob. 24ESCh. 11.1 - Prob. 25ESCh. 11.1 - Prob. 26ESCh. 11.1 - Prob. 27ESCh. 11.1 - Prob. 28ESCh. 11.2 - A sentence of the form Ag(n)f(n) for every na...Ch. 11.2 - Prob. 2TYCh. 11.2 - Prob. 3TYCh. 11.2 - When n1,n n2 and n2 n5__________.Ch. 11.2 - Prob. 5TYCh. 11.2 - Prob. 6TYCh. 11.2 - Prob. 1ESCh. 11.2 - Prob. 2ESCh. 11.2 - The following is a formal definition for ...Ch. 11.2 - In 4—9, express each statement using -, O-, or ...Ch. 11.2 - In 4—9, express each statement using -, O-, or ...Ch. 11.2 - Prob. 6ESCh. 11.2 - Prob. 7ESCh. 11.2 - Prob. 8ESCh. 11.2 - Prob. 9ESCh. 11.2 - Prob. 10ESCh. 11.2 - Prob. 11ESCh. 11.2 - Prob. 12ESCh. 11.2 - Prob. 13ESCh. 11.2 - Use the definition of -notation to show that...Ch. 11.2 - Prob. 15ESCh. 11.2 - Prob. 16ESCh. 11.2 - Prob. 17ESCh. 11.2 - Prob. 18ESCh. 11.2 - Prob. 19ESCh. 11.2 - Prob. 20ESCh. 11.2 - Prove Theorem 11.2.4: If f is a real-valued...Ch. 11.2 - Prob. 22ESCh. 11.2 - Prob. 23ESCh. 11.2 - a. Use one of the methods of Example 11.2.4 to...Ch. 11.2 - Suppose P(n)=amnm+am1nm1++a2n2+a1n+a0 , where all...Ch. 11.2 - Prob. 26ESCh. 11.2 - Prob. 27ESCh. 11.2 - Prob. 28ESCh. 11.2 - Use the theorem on polynomial orders to prove each...Ch. 11.2 - Prob. 30ESCh. 11.2 - Prob. 31ESCh. 11.2 - Prob. 32ESCh. 11.2 - Prove each of the statements in 32—39. Use the...Ch. 11.2 - Prob. 34ESCh. 11.2 - Prob. 35ESCh. 11.2 - Prob. 36ESCh. 11.2 - Prob. 37ESCh. 11.2 - Prob. 38ESCh. 11.2 - Prob. 39ESCh. 11.2 - Prob. 40ESCh. 11.2 - Prob. 41ESCh. 11.2 - Prob. 42ESCh. 11.2 - Prob. 43ESCh. 11.2 - Prob. 44ESCh. 11.2 - Prob. 45ESCh. 11.2 - Prob. 46ESCh. 11.2 - Prob. 47ESCh. 11.2 - Prob. 48ESCh. 11.2 - Prob. 49ESCh. 11.2 - Prob. 50ESCh. 11.2 - Prob. 51ESCh. 11.3 - When an algorithm segment contains a nested...Ch. 11.3 - Prob. 2TYCh. 11.3 - Prob. 3TYCh. 11.3 - Suppose a computer takes 1 nanosecond ( =109...Ch. 11.3 - Prob. 2ESCh. 11.3 - Prob. 3ESCh. 11.3 - Exercises 4—5 explore the fact that for relatively...Ch. 11.3 - Prob. 5ESCh. 11.3 - Prob. 6ESCh. 11.3 - Prob. 7ESCh. 11.3 - Prob. 8ESCh. 11.3 - Prob. 9ESCh. 11.3 - For each of the algorithm segments in 6—19, assume...Ch. 11.3 - For each of the algorithm segments in 6—19, assume...Ch. 11.3 - For each of the algorithm segments in 6—19, assume...Ch. 11.3 - Prob. 13ESCh. 11.3 - Prob. 14ESCh. 11.3 - For each of the algorithm segments in 6—19, assume...Ch. 11.3 - Prob. 16ESCh. 11.3 - For each of the algorithm segments in 6—19, assume...Ch. 11.3 - Prob. 18ESCh. 11.3 - Prob. 19ESCh. 11.3 - Prob. 20ESCh. 11.3 - Prob. 21ESCh. 11.3 - Construct a trace table showing the action of...Ch. 11.3 - Construct a trace table showing the action of...Ch. 11.3 - Prob. 24ESCh. 11.3 - Prob. 25ESCh. 11.3 - Prob. 26ESCh. 11.3 - Consider the recurrence relation that arose in...Ch. 11.3 - Prob. 28ESCh. 11.3 - Prob. 29ESCh. 11.3 - Exercises 28—35 refer to selection sort, which is...Ch. 11.3 - Prob. 31ESCh. 11.3 - Prob. 32ESCh. 11.3 - Prob. 33ESCh. 11.3 - Prob. 34ESCh. 11.3 - Prob. 35ESCh. 11.3 - Prob. 36ESCh. 11.3 - Prob. 37ESCh. 11.3 - Prob. 38ESCh. 11.3 - Prob. 39ESCh. 11.3 - Prob. 40ESCh. 11.3 - Prob. 41ESCh. 11.3 - Exercises 40—43 refer to another algorithm, known...Ch. 11.3 - Prob. 43ESCh. 11.4 - The domain of any exponential function is , and...Ch. 11.4 - Prob. 2TYCh. 11.4 - Prob. 3TYCh. 11.4 - Prob. 4TYCh. 11.4 - Prob. 5TYCh. 11.4 - Graph each function defined in 1-8. 1. f(x)=3x for...Ch. 11.4 - Prob. 2ESCh. 11.4 - Prob. 3ESCh. 11.4 - Prob. 4ESCh. 11.4 - Prob. 5ESCh. 11.4 - Prob. 6ESCh. 11.4 - Prob. 7ESCh. 11.4 - Prob. 8ESCh. 11.4 - Prob. 9ESCh. 11.4 - Prob. 10ESCh. 11.4 - Prob. 11ESCh. 11.4 - Prob. 12ESCh. 11.4 - Prob. 13ESCh. 11.4 - Prob. 14ESCh. 11.4 - Prob. 15ESCh. 11.4 - Prob. 16ESCh. 11.4 - Prob. 17ESCh. 11.4 - Prob. 18ESCh. 11.4 - Prob. 19ESCh. 11.4 - Prob. 20ESCh. 11.4 - Prob. 21ESCh. 11.4 - Prob. 22ESCh. 11.4 - Prob. 23ESCh. 11.4 - Prob. 24ESCh. 11.4 - Prob. 25ESCh. 11.4 - Prob. 26ESCh. 11.4 - Prob. 27ESCh. 11.4 - Prob. 28ESCh. 11.4 - Prob. 29ESCh. 11.4 - Prob. 30ESCh. 11.4 - Prob. 31ESCh. 11.4 - Prob. 32ESCh. 11.4 - Prove each of the statements in 32—37, assuming n...Ch. 11.4 - Prob. 34ESCh. 11.4 - Prob. 35ESCh. 11.4 - Prob. 36ESCh. 11.4 - Prob. 37ESCh. 11.4 - Prob. 38ESCh. 11.4 - Prob. 39ESCh. 11.4 - Prob. 40ESCh. 11.4 - Show that log2n is (log2n) .Ch. 11.4 - Prob. 42ESCh. 11.4 - Prob. 43ESCh. 11.4 - Prob. 44ESCh. 11.4 - Prob. 45ESCh. 11.4 - Prob. 46ESCh. 11.4 - Prob. 47ESCh. 11.4 - Prob. 48ESCh. 11.4 - Prob. 49ESCh. 11.4 - Prob. 50ESCh. 11.4 - Prob. 51ESCh. 11.5 - Prob. 1TYCh. 11.5 - To search an array using the binary search...Ch. 11.5 - Prob. 3TYCh. 11.5 - Prob. 4TYCh. 11.5 - The worst-case order of the merge sort algorithm...Ch. 11.5 - Prob. 1ESCh. 11.5 - Prob. 2ESCh. 11.5 - Prob. 3ESCh. 11.5 - Prob. 4ESCh. 11.5 - In 5 and 6, trace the action of the binary search...Ch. 11.5 - Prob. 6ESCh. 11.5 - Prob. 7ESCh. 11.5 - Prob. 8ESCh. 11.5 - Prob. 9ESCh. 11.5 - Prob. 10ESCh. 11.5 - Prob. 11ESCh. 11.5 - Prob. 12ESCh. 11.5 - Prob. 13ESCh. 11.5 - Prob. 14ESCh. 11.5 - Prob. 15ESCh. 11.5 - Prob. 16ESCh. 11.5 - Trace the modified binary search algorithm for the...Ch. 11.5 - Prob. 18ESCh. 11.5 - Prob. 19ESCh. 11.5 - Prob. 20ESCh. 11.5 - Prob. 21ESCh. 11.5 - Prob. 22ESCh. 11.5 - Prob. 23ESCh. 11.5 - Show that given an array a[bot],a[bot+1],,a[top]of...Ch. 11.5 - Prob. 25ESCh. 11.5 - Prob. 26ES
Knowledge Booster
Background pattern image
Math
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
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
College Algebra
Algebra
ISBN:9781305115545
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:Cengage Learning
Algebraic Complexity with Less Relations; Author: The University of Chicago;https://www.youtube.com/watch?v=ZOKM1JPz650;License: Standard Youtube License
Strassen's Matrix Multiplication - Divide and Conquer - Analysis of Algorithm; Author: Ekeeda;https://www.youtube.com/watch?v=UnpySHwAJsQ;License: Standard YouTube License, CC-BY
Trigonometric Equations with Complex Numbers | Complex Analysis #6; Author: TheMathCoach;https://www.youtube.com/watch?v=zdD8Dab1T2Y;License: Standard YouTube License, CC-BY