
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 7, Problem 23P
Develop an M-fi le function for the secant method based on Fig. 6.4 and Sec. 6.3.2. Along with the two initial guesses, pass the function as an argument. Test it by duplicating the computation from Example 6.6.
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
2. In a computer network some pairs of computers are connected by network cables.
Your goal is to set up the computers so that messages can be sent quickly from any
computer to any other computer. For this you have identified each of the n com-
puters uniquely with a number between 1 and n, and have decided that a message
should consist of two such numbers, identifying the sender and the recipient, fol-
lowed by the content of the message. As cables are relatively short, you can assume
that sending a message across a single cable takes an amount of time that is the
same irrespective of the length of the cable. You can further assume that at most
one message travels between computer at any point, so that you don't have to worry
about inference among messages.
(a) Define a graph or network that models the computer network and allows you
to answer the remaining parts of this question.
(b) Consider two computers, a sender and a recipient. Using the graph or network
you have defined,…
3. A spreadsheet consists of cells indexed by a row and a column. Each cell contains
either a value or a formula that depends on the values of other cells.
(a) Describe a graph, digraph, or network that models an arbitrary spreadsheet
and allows you to answer the remaining parts of this question.
(b) Explain, by referring to the graph, digraph, or network, when it is possible to
change the value of cell x without changing the value of cell y.
(c) Explain, by referring to the graph, digraph, or network, when it is possible to
calculate the values of all cells in the spreadsheet.
Consider the following spreadsheet with 5 rows, 7 columns, and 35 cells. For exam-
ple, cell el contains a value, whereas cell al contains a formula that depends on the
values cells el and 95.
a
b
с
1
el+g5 al-c5 110
d
al+cl 180
e
f
g
f5-el
c1+c2
2
al+b1 a2+c4 240
a2+c2 120
f5-e2
e3+e5
3 a2+b2 a3-c3 100
a3+c1 200
f5-e3 f1+f2
4
a3+b3 a4+c2 220
a4+c2 100 f5-e4 f3+f4
5 a4+b4 a5-c1 130 a5+c5 120 g3+g4 g1+g2
(d) Can…
1. Let W, U, and S be graphs defined as follows:
• V(W) is the set of countries in the world;
• V(U) is the set of countries in the European Union;
V(S) is the set of countries in the Schengen Area;
● for X = {W,U,S}, E(X) is the set of pairs of countries in V(X) that share a
land border.
Recall that land borders between countries in the Schengen Area are special in that
they can be crossed without a passport.
(a) The notions of a country and a land border are somewhat ambiguous. Explain
the notions you will use to get a precise definition of the graphs W, U, and S.
(b) Is S a subgraph of U? Is U an induced subgraph of W? Justify your answers.
(c) Using non-mathematical language, explain what it means for a country x if
VEV(S) and dw (v) = 0. Give all such countries.
Let A = {v Є V(W) \V(S) such that |Nw(v)| > 0 and Nw (v) ≤ V(S)}.
(d) Using non-mathematical language, explain what the set A represents in terms
of countries and land borders. Give a specific element of A or explain why A…
Chapter 7 Solutions
Numerical Methods for Engineers
Ch. 7 - Divide a polynomial f(x)x47.5x3+14.5x2+3x20 by the...Ch. 7 - Divide a polynomial f(x)=x55x4+x36x27x+10 by the...Ch. 7 - Prob. 3PCh. 7 - 7.4 Use Müller’s method or MATLAB to determine the...Ch. 7 - 7.6 Develop a program to implement Muller’s...Ch. 7 - 7.7 Use the program developed in Prob. 7.6 to...Ch. 7 - Develop a program to implement Bairstows method....Ch. 7 - Use the program developed in Prob. 7.8 to...Ch. 7 - Determine the real root of x3.5=80 with Excel,...Ch. 7 - 7.11 The velocity of a falling parachutist is...
Ch. 7 - Determine the roots of the simultaneous nonlinear...Ch. 7 - 7.13 Determine the roots of the simultaneous...Ch. 7 - 7.14 Perform the identical MATLAB operations as...Ch. 7 - 7.15 Use MATLAB or Mathcad to determine the...Ch. 7 - A two-dimensional circular cylinder is placed in a...Ch. 7 - 7.17 When trying to find the acidity of a...Ch. 7 - Consider the following system with three unknowns...Ch. 7 - 7.19 In control systems analysis, transfer...Ch. 7 - Develop an M-file function for bisection in a...Ch. 7 - 7.21 Develop an M-fi le function for the...Ch. 7 - 7.22 Develop an M-fi le function for the...Ch. 7 - Develop an M-fi le function for the secant method...Ch. 7 - Develop an M-file function for the modified secant...
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
- 3. A spreadsheet consists of cells indexed by a row and a column. Each cell contains either a value or a formula that depends on the values of other cells. (a) Describe a graph, digraph, or network that models an arbitrary spreadsheet and allows you to answer the remaining parts of this question. (b) Explain, by referring to the graph, digraph, or network, when it is possible to change the value of cell x without changing the value of cell y. (c) Explain, by referring to the graph, digraph, or network, when it is possible to calculate the values of all cells in the spreadsheet. Consider the following spreadsheet with 5 rows, 7 columns, and 35 cells. For exam- ple, cell el contains a value, whereas cell al contains a formula that depends on the values cells el and 95. a b с d e f g 1 el+g5 al-c5 110 al+cl 180 f5-el c1+c2 2 al+bl a2+c4 240 a2+c2 120 f5-e2 e3+e5 3 a2+b2 a3-c3 100 a3+c1 200 f5-e3 f1+f2 4 a3+b3 a4+c2 220 a4+c2 100 f5-e4 f3+f4 5 a4+b4 a5-c1 130 a5+c5 120 g3+g4 gl+g2 (d) Can…arrow_forwardSolution: Solution: 7.2 2x²+5x-3. Diagram: till sh one The Steps the same technique as in 4 and 5) above to factor the following Show all the Steps. "Diagram, (2) 03) But (be Wha x+2 3arrow_forwardQ/ solving Laplace equation on Rectangular Rejon a xx+uyy = o u (x, 0) = u(x,2) = 0 u (o,y) = y (1,y) = 27arrow_forward
- Q / solving ha place equation a x x + u y y = 0 u (x, 0)=0 u ( x, 2) = 10 u (o,y) = 4 (119)=0 и on Rectangular Rejonarrow_forwardConjecture Let x and y be integers. If x is even and y is odd, then xy is even. Try some examples. Does the conjecture seem to be true or false?arrow_forwardSOLVE ONLY FOR (L) (M) AND (O)arrow_forward
- File Preview A gardener has ten different potted plants, and they are spraying the plants with doses of Tertizers. Plants can receive zero or more doses in a session. In the following, we count each possible number of doses the ten plants can receive (the order of spraying in a session does not matter). (a) How many ways are there if there were twelve total doses of a single type of fertilizer? (b) How many ways are there if there are six total doses of a single type of fertilizer, each plant receives no more than one dose? (c) How many ways are there if is was one dose of each of six types of fertilizers? (d) How many ways are there if there are four doses of fertilizer #1 and eight doses of fertilizer #2? (e) How many ways are there if there are four doses of fertilizer #1 and eight doses of fertilizer #2, and each plant receives no more than one dose of fertilizer #1? (f) How many ways are there to do two sessions of spraying, where each plant receives at most two doses total?arrow_forwarda) x(t) = rect(t − 3) b) x(t) = −3t rect(t) . c) x(t) = 2te 3u1(t) d) x(t) = e−2|t| 2. Sketch the magnitude and phase spectrum for the four signals in Problem (1).arrow_forwardG(x) = dt 1+√t (x > 0). Find G' (9)arrow_forward
- What is the area of this figure? 7 mi 3 mi 8 mi 5 mi 2 mi 6 mi 3 mi 9 miarrow_forwardQ/ Solving Laplace equation on a Rectangular Rejon uxxuyy = o u(x, 0) = f(x) исх, 6) = д(х) b) u Co,y) = u(a,y) = =0arrow_forwardQ/solve the heat equation initial-boundary-value problem- u+= 2uxx 4 (x10) = x+\ u (o,t) = ux (4,t) = 0arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Solve ANY Optimization Problem in 5 Steps w/ Examples. What are they and How do you solve them?; Author: Ace Tutors;https://www.youtube.com/watch?v=BfOSKc_sncg;License: Standard YouTube License, CC-BY
Types of solution in LPP|Basic|Multiple solution|Unbounded|Infeasible|GTU|Special case of LP problem; Author: Mechanical Engineering Management;https://www.youtube.com/watch?v=F-D2WICq8Sk;License: Standard YouTube License, CC-BY
Optimization Problems in Calculus; Author: Professor Dave Explains;https://www.youtube.com/watch?v=q1U6AmIa_uQ;License: Standard YouTube License, CC-BY
Introduction to Optimization; Author: Math with Dr. Claire;https://www.youtube.com/watch?v=YLzgYm2tN8E;License: Standard YouTube License, CC-BY