Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 5, Problem 21P
Integrate the algorithm outlined in Fig. 5.10 into a complete, user-friendly bisection subprogram. Among other things:
(a) Place documentation statements throughout the subprogram to identify what each section is intended to accomplish.
(b) Label the input and output.
(c) Add an answer check that substitutes the root estimate into the original function to verify whether the final result is close to zero.
(d) Test the subprogram by duplicating the computations from Examples 5.3 and 5.4.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
Information about ocean weather can be extracted from radar returns with the aid of a special algorithm. A
study is conducted to estimate the difference in wind speed as measured on the ground and via the Seasat
satellite. To do so, wind speeds (miles per hour) are measured on the ground and via the Seasat satellite
simultaneously at 12 special times. The data is shown in the following table. The table also shows the difference
between the wind speed on the ground and that via the Seasat satellite at each time, as well as some summary
statistics.
Difference
Time
Ground (x) Satellite (y)
d = x – y
1
4.46
4.08
0.38
3.99
3.94
0.05
3.73
5.00
-1.27
4
3.29
5.20
-1.91
4.82
3.92
0.90
6.
6.71
6.21
0.50
7
4.61
5.95
-1.34
8
3.87
3.07
0.80
9.
3.17
4.76
-1.59
10
4.42
3.25
1.17
11
3.76
4.89
-1.13
12
3.30
4.80
-1.50
d = -0.41
Sd = 1.14
Identify and explain the error(s) if any in each of the computation below.
Suppose the Texas Department of Motor Vehicles is tracking the number of car, truck and motorcycle
(respectively) crashes in Texas over the years 2000 to 2019 in an array TXCrash (3 x 20).
Which of the following defines a MATLAB variable that contains the total number of crashes for the years
2000 to 2009 (all vehicles)?
O TotalCrashForFirstDecade = sum(TXCrash([1:10], all))
O TotalCrashFor FirstDecade = sum(TXCrash(:, [1:10]))
O TotalCrashForFirstDecade = sum(TXCrash (2000-2009, :))
TotalCrashForFirstDecade = sum(TXCrash([1:10], :))
Chapter 5 Solutions
Numerical Methods for Engineers
Ch. 5 - 5.1 Determine the real roots...Ch. 5 - 5.2 Determine the real root of:
(a) Graphically....Ch. 5 - 5.3 Determine the real root of:
(a)...Ch. 5 - Determine the roots of f(x)=1221x+18x22.75x3...Ch. 5 - Locate the first nontrivial root of sin x=x2wherex...Ch. 5 - 5.6 Determine the positive real root of (a)...Ch. 5 - 5.7 Determine the real root of:...Ch. 5 - 5.8 Find the positive square root of 18 using the...Ch. 5 - 5.9 Find the smallest positive root of the...Ch. 5 - 5.10 Find the positive real root of using the...
Ch. 5 - 5.11 Determine the real root of: (a) analytically...Ch. 5 - 5.12 Given
Use bisection to determine the...Ch. 5 - 5.13 The velocity v of a falling parachutist is...Ch. 5 - 5.14 Use bisection to determine the drag...Ch. 5 - As depicted in Fig. P5.15, the velocity of water,...Ch. 5 - 5.16 Water is flowing in a trapezoidal channel at...Ch. 5 - 5.17 You are designing a spherical tank (Fig....Ch. 5 - The saturation concentration of dissolved oxygen...Ch. 5 - 5.19 According to Archimedes principle, the...Ch. 5 - 5.20 Perform the same computation as in Prob....Ch. 5 - 5.21 Integrate the algorithm outlined in Fig. 5.10...Ch. 5 - Develop a subprogram for the bisection method that...Ch. 5 - 5.23 Develop a user-friendly program for the...Ch. 5 - Develop a subprogram for the false-position method...Ch. 5 - 5.25 Develop a user-friendly subprogram for the...Ch. 5 - 5.26 Develop a function for bisection in a similar...
Additional Math Textbook Solutions
Find more solutions based on key concepts
(a) Show that (x) = x2 is an explicit solution to xdydx = 2y on the interval (, ). (b) Show that (x) = ex x is...
Fundamentals of Differential Equations (9th Edition)
|4.2| = ?
Basic Technical Mathematics
Analytic Functions. Find fz=ux,y+ivx,y with u or v as given. Check by the Cauchy Reimann equations for analyti...
Advanced Engineering Mathematics
Find the most simplified answer for the given problems involving fractions: 526=
Finite Mathematics with Applications In the Management, Natural, and Social Sciences (12th Edition)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.Similar questions
- The Iowa Wolves are scheduled to play against the Maine Red Claws in an upcoming game in the National Basketball Association (NBA) G League. Because a player in the NBA G League is still developing his skills, the number of points he scores in a game can vary substantially. Develop a spreadsheet model that simulates the points scored by each team. Assume that each player's point production can be represented as an integer uniform variable with the ranges provided in the following table. (Use at least 1,000 trials.) Player Iowa Wolves Maine Red Claws 1 [5, 20] [6, 12] 2 [7, 20] [15, 20] 3 [5, 10] [10, 20] 4 [10, 40] [15, 30] 5 [5, 20] [6, 10] 6 [4, 10] [1, 20] 7 [2, 5] [1, 4] 8 [2, 4] [2, 4] (a) Consider the points scored by the Iowa Wolves team. (Round your answers to two decimal places.) What is the average of points scored? What is the standard deviation? What is the shape of the distribution? uniformbell-shaped skewed leftskewed right (b)…arrow_forwardLet a = Compute the following: (a - b) (a-c) = (0, 3, 2), b = (3, 1, 1), and (à. b) è = a C à b . (b + c) ((c. c)ā). à = = = (2, 6, 3).arrow_forwardState the 'factor reversal test’. Show that Fisher’s method for constructing index numbers satisfies it. The price index of cosmetics was 10 in 2001 with base as 1995 and 120 in 2002 with 2001 as base. It further increased by 30% in 2003 in relation to the price index of 2002 and decreased by 10% in 2004 as compared to its level in 2003. Find the index for 2004 with 195 as base.arrow_forward
- The Iowa Wolves are scheduled to play against the Maine Red Claws in an upcoming game in the National Basketball Association (NBA) G League. Because a player in the NBA G League is still developing his skills, the number of points he scores in a game can vary substantially. Develop a spreadsheet model that simulates the points scored by each team. Assume that each player's point production can be represented as an integer uniform variable with the ranges provided in the following table. (Use at least 1,000 trials.) Player Iowa Wolves Maine Red Claws [5, 20] [8, 12] [7, 20] [15, 20] [5, 10] [10, 20] [10, 40] [15, 30] [5, 20] [4, 10] [4, 10] [2, 5] [2, 4] 1 2 3 4 5 6 7 8 What is the standard deviation? [1,20] [1,4] (a) Consider the points scored by the Iowa Wolves team. (Round your answers to two decimal places.) What is the average of points scored? What is the shape of the distribution? O uniform O bell-shaped O skewed left O skewed right [2, 4]arrow_forwardThe Iowa Wolves are scheduled to play against the Maine Red Claws in an upcoming game in the National Basketball Association (NBA) G League. Because a player in the NBA G League is still developing his skills, the number of points he scores in a game can vary substantially. Develop a spreadsheet model that simulates the points scored by each team. Assume that each player's point production can be represented as an integer uniform variable with the ranges provided in the following table. (Use at least 1,000 trials.) Player Iowa Wolves Maine Red Claws [5, 20] [6, 12] [7, 20] [15, 20] [5, 10] [10, 20] [10, 40] [15, 30] [6, 10] [1,20] [1,4] [2, 4] 1 2 3 4 5 6 7 8 [7,20] [2, 10] [2, 5] [2, 4] (a) Consider the points scored by the Iowa Wolves team. (Round your answers to two decimal places.) What is the average of points scored? What is the standard deviation? What is the shape of the distribution? O uniform Obell-shaped O skewed left O skewed right (b) Consider the points scored by the…arrow_forwardDetermine which characteristics of an algorithm the following procedures have and which they lack. procedure sum(n: positive integer) sum:= 0 while i<10 sum:= sum + iarrow_forward
- please manully compute and find PMTarrow_forwardThe exercise involving data in this and subsequent sections were designed to be solved using Excel. Johnson Filtration, Inc. provides maintenance service for water-filtration systems. Suppose that in addition to information on the number of months since the machine was serviced and whether a mechanical or an electrical repair was necessary, the managers obtained a list showing which repairperson performed the service. The revised data follow. Repair Time(hours) Months SinceLast Service Type ofRepair Repairperson 2.9 2 electrical Dave Newton 3.0 6 mechanical Dave Newton 4.8 8 electrical Bob Jones 1.8 3 mechanical Dave Newton 2.9 2 electrical Dave Newton 4.9 7 electrical Bob Jones 4.2 9 mechanical Bob Jones 4.8 8 mechanical Bob Jones 4.4 4 electrical Bob Jones 4.5 6 electrical Dave Newton Ignore for now the months since the last maintenance service (x1 ) and the repairperson…arrow_forwardAJ’s sleep pattern had been fluctuating due to stress and diet, so he started to keep a diary of how many hours he slept each night. On the 4th night after he started the diary, AJ slept 9.4 hours, which was the most sleep he got any night. Gradually, he got less sleep each successive night until, on the 18th night after he started the diary, AJ slept 6.2 hours, which was the least sleep he got any night. After keeping his diary for 6 months, he realized that the number of hours he got each night followed a sinusoidal curve. Let t be the number of nights since he started his diary, and s be how many hours he slept that night. It may be helpful to draw a crude sketch of the sleep time function and label the known t − and s − values on it. POSITIVE or NEGATIVE SIN or COS Maximum s − value = Minimum s − value = ______________ ______________ Middle s − value = ______________ = D Amplitude = ______________ = A ⇒ B = ______________ Given the crude sketch of the height function, the…arrow_forward
- Indicate whether each of the following changes to a set of data will affect the Euclidean distances between points, and a clustering algorithm such as hclust. If there is any effect, indicate under what circumstances it will be largest. (a). Rescale the variables, multiplying each one by a different constant. (b). Multiply each variable by the same constant. (c). Rotating the data by multiplying it by an orthonormal matrix (hint: PCA loadings are one orthogonal matrix. If you want, you can use PCA to answer this question.) (d). Projecting the data onto the first 5 principal components. Note: You should answer this question using mathematical argumentsarrow_forwardPlease use the Crank-Nicolson Algorithm to solve the problemarrow_forwardA researcher has developed an algorithm for analyzing documents. To test the performance he runs the algorithm on documents with lengths of 10 pages, 20 pages, and 30 pages. The run times were 0.1 seconds, 0.2 seconds, and 0.4 seconds. Would the algorithm be reasonable for analyzing a 300-page document? Explain.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageMathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Graph Theory: Euler Paths and Euler Circuits; Author: Mathispower4u;https://www.youtube.com/watch?v=5M-m62qTR-s;License: Standard YouTube License, CC-BY
WALK,TRIAL,CIRCUIT,PATH,CYCLE IN GRAPH THEORY; Author: DIVVELA SRINIVASA RAO;https://www.youtube.com/watch?v=iYVltZtnAik;License: Standard YouTube License, CC-BY