Locate the first positive root of
Where x is in radians. Use four iterations of the secant method with initial guesses of (a)
(a)

To calculate: Thefirst positive root of the function
Answer to Problem 7P
Solution:
The first positive root of the function
Explanation of Solution
Given Information:
The function,
Formula used:
The iterative equation of secant method is,
And, formula for approximate error is,
Calculation:
Consider the function,
For
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Similarly, all the iteration can be summarized as below,
0 | 3 | |
1 | ||
2 | ||
3 | ||
4 |
Hence, the first positive root is
(b)

To calculate: The first positive root of the function
Answer to Problem 7P
Solution:
The first positive root of the function
Explanation of Solution
Given Information:
The function,
Formula used:
The iterative equation of secant method is,
And, formula for approximate error is,
Calculation:
Consider the function,
For
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Similarly, all the iteration can be summarized as below,
0 | 2.5 | |
1 | ||
2 | ||
3 | ||
4 |
Hence, the first positive root is
(c)

To calculate: The first positive root of the function
Answer to Problem 7P
Solution:
The first positive root of the function
Explanation of Solution
Given Information:
The function,
Formula used:
The iterative equation of secant method is,
And, formula for approximate error is,
Calculation:
Consider the function,
For
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Use
Therefore, the approximate error is,
Similarly, all the iteration can be summarized as below,
0 | ||
1 | 16.76% | |
2 | ||
3 | ||
4 |
Hence, the first positive root is
(d)

The explanation of the result obtained by the secant method of the function
Answer to Problem 7P
Solution:
For the initial guesses
For the initial guesses
For the initial guesses
Explanation of Solution
Given Information:
The function,
Consider the function,
From part (a), the result obtained with the initial guesses
0 | 3 | |
1 | ||
2 | ||
3 | ||
4 |
Use MATLAB to draw the graph of the function as below,
Code:
function f = g(x)
% f is assigned a value of function f(x).
f=sin(x)+cos(1+(x^2))-1;
%function is defined.
end
Output:
The graph obtained is,
From the graph, it is observed that the first iteration gives a negative value due to the improper choice of initial guess.
From part (b), the result obtained with the initial guesses
0 | 2.5 | |
1 | ||
2 | ||
3 | ||
4 |
Use MATLAB to draw the graph of the function as below,
Code:
function f = g(x)
% f is assigned a value of function f(x).
f=sin(x)+cos(1+(x^2))-1;
%function is defined.
end
Output:
The graph obtained is,
From the graph, it is observed that the root is converges towards the second positive root with these initial guesses instead of first positive root.
From part (c), the result obtained with the initial guesses
0 | ||
1 | 16.76% | |
2 | ||
3 | ||
4 |
Use MATLAB to draw the graph of the function as below,
Code:
function f = g(x)
% f is assigned a value of function f(x).
f=sin(x)+cos(1+(x^2))-1;
%function is defined.
Output:
The graph obtained is,
From the graph, it is observed that the root is converges towards the first positive root with these initial guesses rapidly. Hence, these guesses are the proper selection to locate the first positive root by secant method.
Want to see more full solutions like this?
Chapter 6 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Additional Engineering Textbook Solutions
College Algebra Essentials (5th Edition)
Thinking Mathematically (6th Edition)
Elementary Statistics ( 3rd International Edition ) Isbn:9781260092561
Elementary Statistics: A Step By Step Approach
University Calculus: Early Transcendentals (4th Edition)
- please answer the questions below ands provide the required codes in PYTHON. alsp provide explanation of how the codes were executed. Also make sure you provide codes that will be able to run even with different parameters as long as the output will be the same with any parameters given. these questions are not graded. provide accurate codes pleasearrow_forwardCould you please help me answer the follwoing questionsarrow_forwardWhat is Poisson probability? What are 3 characteristics of Poisson probability? What are 2 business applications of Poisson probability? Calculate the Poisson probability for the following data. x = 3, lambda = 2 x = 2, lambda = 1.5 x = 12, lambda = 10 For the problem statements starting from question 6 onward, exercise caution when entering data into Microsoft Excel. It's essential to carefully evaluate which value represents x and which represents λ. A call center receives an average of 3 calls per minute. What is the probability that exactly 5 calls are received in a given minute? On average, 4 patients arrive at an emergency room every hour. What is the probability that exactly 7 patients will arrive in the next hour? A production line produces an average of 2 defective items per hour. What is the probability that exactly 3 defective items will be produced in the next hour? An intersection experiences an average of 1.5 accidents per month. What is the probability that…arrow_forward
- (Nondiagonal Jordan form) Consider a linear system with a Jordan form that is non-diagonal. (a) Prove Proposition 6.3 by showing that if the system contains a real eigenvalue 入 = O with a nontrivial Jordan block, then there exists an initial condition with a solution that grows in time. (b) Extend this argument to the case of complex eigenvalues with Reλ = 0 by using the block Jordan form Ji = 0 W 0 0 3000 1 0 0 1 0 ω 31 0arrow_forwardYou manage a chemical company with 2 warehouses. The following quantities of Important Chemical A have arrived from an international supplier at 3 different ports: Chemical Available (L) Port 1 400 Port 2 110 Port 3 100 The following amounts of Important Chemical A are required at your warehouses: Warehouse 1 Warehouse 2 Chemical Required (L) 380 230 The cost in£to ship 1L of chemical from each port to each warehouse is as follows: Warehouse 1 Warehouse 2 Port 1 £10 Port 2 £20 Port 3 £13 £45 £28 £11 (a) You want to know how to send these shipments as cheaply as possible. For- mulate this as a linear program (you do not need to formulate it in standard inequality form) indicating what each variable represents. (b) Suppose now that all is as in the previous question but that only 320L of Important Chemical A are now required at Warehouse 1. Any excess chemical can be transported to either Warehouse 1 or 2 for storage, in which case the company must pay only the relevant transportation…arrow_forwardSuppose we have a linear program in standard equation form maximize cx subject to Ax = b, x > 0. and suppose u, v, and w are all optimal solutions to this linear program. (a) Prove that z = u+v+w is an optimal solution. (b) If you try to adapt your proof from part (a) to prove that that u+v+w is an optimal solution, say exactly which part(s) of the proof go wrong. (c) If you try to adapt your proof from part (a) to prove that u+v-w is an optimal solution, say exactly which part(s) of the proof go wrong.arrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageTrigonometry (MindTap Course List)TrigonometryISBN:9781337278461Author:Ron LarsonPublisher:Cengage LearningCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage Learning
- Functions and Change: A Modeling Approach to Coll...AlgebraISBN:9781337111348Author:Bruce Crauder, Benny Evans, Alan NoellPublisher:Cengage LearningAlgebra and Trigonometry (MindTap Course List)AlgebraISBN:9781305071742Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning




