Concept explainers
Employ the following methods to find the maximum of the function from Prob. 13.7:
(a) Golden-section search
(b) Parabolic interpolation
(c) Newton's method
(a)
To calculate: The maximum of the function
Answer to Problem 8P
Solution:
The maximum of the function
Explanation of Solution
Given information:
The function
Formula used:
The golden-search method with two initial guesses,
Evaluated the function at the above two interior points. Two results can occur,
If
If
Calculation:
Consider function
With
Iteration 1: First golden ratio is used to create two interior points as,
The two interior points are as follows:
First point is,
Second point is,
Now, comparing the value of function at these interior points as shown below:
For
For
As
Therefore, the maximum is in the interval defined by
Where,
The error at this point can be computed as follow:
Therefore, the domain of x to the left of
For this case,
Iteration 2: Here,
The two new interior points are as follows:
First point is,
Second point is,
Now, comparing the value of function at these interior points as shown below:
For
For
As
For this case,
Now,
Iteration 3: Here,
The two new interior points are as follows:
First interior point is,
Second interior point is,
Now, comparing the value of function at these interior points as shown below:
For
For
As
Therefore, for this case,
Proceeding like this the iterations can be tabulated below as:
Thus, the result converges to true value
(b)
To calculate: The maximum of the function
Answer to Problem 8P
Solution:
The maximum of the function
Explanation of Solution
Given information:
The function
Formula used:
Consider three points jointly bracket an optimum, thus a unique parabola through these three points can be determined. On differentiating and setting it equal to zero estimate of optimal can be computed.
Consider
Calculation:
Consider function
With initial guesses
Iteration 1: Function values at these three initial points is,
For
For
For
Substitute the value of
The value of function at
Therefore,
Iteration 2: Now the initial guesses are
Function values at these three initial points are,
For
For
For
Substitute the value of
The value of the provided function at
Therefore,
Iteration 3: Now the initial guesses are
Function values at these three initial points is,
For
The function for
And for
Substitute the value of
And value of function at
Therefore,
Iteration 4: Now the initial guesses are
Function values at these three initial points is,
For
For
For
Substitute the value of
And value of function at
Therefore,
And the process continues with a summary shown below in a table:
Thus, after four iterations result is converging to true value
(c)
To calculate: The maximum of the function
Answer to Problem 8P
Solution:
The maximum of the function
Explanation of Solution
Given information:
The function
Formula used:
Newton Method is similar to Newton Raphson as it does not require initial guesses that bracket the optimum solution.
For any function
Calculation:
Consider function
With initial guesses
First and second derivatives of function that is,
Iteration 1:Initially for
For second derivative,
Therefore,
And
Iteration 2:Now for
For second derivative,
Therefore,
And
Iteration 3:Now for
For second derivative,
Therefore,
And
Iteration 4:Now for
For second derivative,
Therefore,
Maintaining the error percentage using equation (3) iterations can be summarized as shown in table below:
Thus, within four iterations, the result converges to true value
Therefore, the maximum of the function
Want to see more full solutions like this?
Chapter 13 Solutions
Numerical Methods for Engineers
Additional Math Textbook Solutions
Mathematics for the Trades: A Guided Approach (11th Edition) (What's New in Trade Math)
Elementary Statistics ( 3rd International Edition ) Isbn:9781260092561
Finite Mathematics for Business, Economics, Life Sciences and Social Sciences
Elementary & Intermediate Algebra
Elementary Statistics: Picturing the World (7th Edition)
- Determine if the statemment is true or false. If the statement is false, then correct it and make it true. If the function f increases on the interval -,x1 and decreases on the interval x1,, then fx1 is a local minimum value.arrow_forwardRepeat Example 5 when microphone A receives the sound 4 seconds before microphone B.arrow_forwardDetermine if the statemment is true or false. If the statement is false, then correct it and make it true. If the function f decreases on the interval -,x1 and increases on the interval x1,, then fx1 is a local maximum value.arrow_forward
- For T:P5P3 and nullity(T)=4, find rank(T).arrow_forwardIn this problem you are asked to find a function that models in real life situation and then use the model to answer questions about the guidelines on page 273 to help you. Minimizing Time A man stands at a point A on the bank of a straight river, 2 mi wide. To reach point B, 7 mi downstream on the opposite bank, he first rows his boat to point Pon the opposite bank and then walks the remaining distances x to B, as shown in the figure. He can row at a speed or 2 mi/h and walk as a speed of mi/h (a) Find a function that models the time needed for the trip. (b) Where should he land so that he reaches B as soon as possible?arrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningGlencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw Hill
- College AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningAlgebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellTrigonometry (MindTap Course List)TrigonometryISBN:9781337278461Author:Ron LarsonPublisher:Cengage Learning