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)
- A bent tube is attached to a wall with brackets as shown. A force of F = 785 lb is applied to the end of the tube with direction indicated by the dimensions in the figure. a.) Determine the moment about point D due to the force F Enter your answer in Cartesian components with units of ft- lbs. b.) Determine the moment about a line (i.e. axis) running from D to C due to the force F. Enter your answer in Cartesian components with units of ft-lbs. 2013 Michael Swanbom x BY NC SA g Z h A с FK kaz Values for dimensions on the figure are given in the table below. Note the figure may not be to scale. Be sure to align your cartesian unit vectors with the coordinate axes shown in the figure. Variable Value α 4.84 in b 13.2 in с 12.5 in d 30.8 in h 18.7 in 22.0 in →> a. MD=( i+ k) ft- lb →> b. MDC = î + k) ft- lbarrow_forwardF1 3 4 5 P F2 F2 Ꮎ e b 200 3 4 5 F1 The electric pole is subject to the forces shown. Force F1 245 N and force F2 = 310 N with an angle 0 = 20.2°. Determine the moment about point P of all forces. Take counterclockwise moments to be positive. = Values for dimensions on the figure are given in the following table. Note the figure may not be to scale. Variable Value a 2.50 m b 11.3 m с 13.0 m The moment about point P is m. N- If the moment about point P sums up to be zero. Determine the distance c while all other values remained the same. m.arrow_forwardF y b C 10 Z Determine the moment about O due to the force F shown, the magnitude of the force F = 76.0 lbs. Note: Pay attention to the axis. Values for dimensions on the figure are given in the following table. Note the figure may not be to scale. Variable Value a 1.90 ft b 2.80 ft с 2.60 ft d 2.30 ft Mo = lb + k) ft-arrow_forward
- The shelf bracket is subjected to the force F = 372 Newtons at an angle = 21.4°. Compute the moment (in N-m) that this force exerts about each of the two attachment points (screw locations in the figure). Take counterclockwise moments to be positive. a duk F -0 2013 cc Michael Swanbom BY NC O SA Values for dimensions on the figure are given in the following table. Note the figure may not be to scale. Variable Value a 43.0 cm b 32.3 cm с 2.58 cm The moment about the upper attachment point is N-m. The moment about the lower attachment point is N-m.arrow_forwardA man skis down a slope. His initial elevation was 150 m and his velocity at the bottom of the slope is 17 m/s. What percentage of his initial potential energy was consumed due to friction and air resistance? Use the accounting equation in your calculations.arrow_forwardIn direct calorimetry, a person is placed in a large, water-insulated chamber. The chamber is kept at a constant temperature. While in the chamber, the subject is asked to perform a number of normal activities, such as eating, sleeping, and exercising. The rate of heat released from the subject’s body can be measured by the rate of heat gain by the water bath. Would direct calorimetry be a practical way to measure metabolic rate? Why or why not?A person is placed inside a calorimetric chamber for 24 hours. During this time, the 660-gallon water bath heats up by 3.2°F. What is the subject’s metabolic rate during this period? Report your answer in kcal/day. Assume that there is no heat loss from the water to the surroundings.arrow_forward
- Upon reentry into the Earth’s atmosphere, the bottom of a space shuttle heats up to dangerous levels as the craft slows for landing. If the velocity of the shuttle is 28,500 km/hr at the beginning of reentry and 370 km/hr just prior to landing, how much energy is lost as heat? The shuttle has a mass of 90,000 kg. Assume that the change in potential energy is negligible compared to the change in kinetic energy.arrow_forwardof the basket of the balloon at point A, and their other ends are staked to the ground. The hook is located in the geometric center of the basket. The balloon and the air inside it have a combined mass of 3000 kg. You want to determine the resultant of the tension forces in the four cables acting on the hook at point A. It is known that the magnitudes of the tension in the cables are as follows: TAB = 207 N; TAC = 355 N; TAD = 250 N; and TAE = 486 N. B E 2.5 m C E 5.5 m D 2.5 m 3.5 m 1.5 m Using the information provided in the problem, express the force on the hook at point A by cable AC in rectangular component form. The force on the hook at point A by cable AC in rectangular component form is given below. T AC N) i+ N) + N) Rarrow_forwardWater in the glass tube is at a temperature of 40°C. Plot the height of the water as a function of the tube's inner diameter D for 0.5mm≤D≤3mm. Use increments of 0.5mm. Take sigma=69.6mN/m, and theta=0° for the contact angle.arrow_forward
- Determine the distance h that the column of mercury in the tube will be depressed when the tube is inserted into the mercury at a room temperature of 68 F. Plot this relationship of h (vertical axis) versus D for 0.5 in≤D≤0.150in. Give values for increments of ΔD=0.025in. Discuss this resultarrow_forwardWater is at a temperature of 30 C. Plot the height h of the water as a function of the gap w between the two glass plates for 0.4 mm ≤ w ≤ 2.4 mm. Use increments of 0.4mm. Take sigma=0.0718 N/m.arrow_forwardWhat is the reading on the vernier calipers? 7 6 0 5 10 8arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY