EBK NUMERICAL METHODS FOR ENGINEERS
EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 8220100254147
Author: Chapra
Publisher: MCG
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 13, Problem 1P

Given the formula

f ( x ) = x 2 + 8 x 12

(a) Determine the maximum and the corresponding value of x for this function analytically (i.e., using differentiation).

(b) Verify that Eq. (13.7) yields the same results based on initial guesses of x 0 = 0 , x 1 = 2 , and x 2 = 6 .

(a)

Expert Solution
Check Mark
To determine

To calculate: The maximum value of the function and the corresponding value of variable x for the function,

f(x)=x2+8x12

Answer to Problem 1P

Solution:

The maximum value of the function f(x)=x2+8x12 is 4 at x=4.

Explanation of Solution

Given Information:

The function f(x) is given as,

f(x)=x2+8x12

Calculation:

Evaluate the first order derivative of the function f(x).

f'(x)=2x+8 …… (1)

Equate equation (1) to zero and evaluate critical point.

2x+8=0x=82=4

Therefore, a critical point is at x=4.

Evaluate the second order derivative of the function f(x) to check if the function attains a maximum or minimum value at the critical point.

f''(x)=2 …… (2)

The sign of the second order derivative at x=4 is negative, therefore, at x=4 the given function attains a maximum value.

Substitute x=4 in the function f(x) to find the maximum value of the function.

f(x)=(4)2+8(4)12=16+3212=3228=4

Hence, the maximum value of the function at x=4 is 4.

(b)

Expert Solution
Check Mark
To determine

To prove: The results obtained in part (a) using the equation as follows:

x3=f(x0)(x12x22)+f(x1)(x22x02)+f(x2)(x02x12)2f(x0)(x1x2)+2f(x1)(x2x0)+2f(x2)(x0x1)

using the initial guess of x0=0,x1=2 and x2=6.

Explanation of Solution

Given Information:

The function is given as,

f(x)=x2+8x12

The initial guesses are x0=0,x1=2 and x2=6.

Formula used:

The expression for the parabolic interpolation is given as,

x3=f(x0)(x12x22)+f(x1)(x22x02)+f(x2)(x02x12)2f(x0)(x1x2)+2f(x1)(x2x0)+2f(x2)(x0x1)

Here, x0,x1and x2 are the initial guesses and f(x0),f(x1)and f(x2) are the values of the function at the respective initial guesses.

Proof:

Rewrite the equation of the parabolic interpolation:

x3=f(x0)(x12x22)+f(x1)(x22x02)+f(x2)(x02x12)2f(x0)(x1x2)+2f(x1)(x2x0)+2f(x2)(x0x1) …… (3)

Substitute x=0 in f(x) to get the value of f(x0).

f(x0)=(0)2+8(0)12=12

Thus, the value of f(x0) is 12.

Substitute x=2 in f(x) to get the value of f(x1).

f(x1)=(2)2+8(2)12=4+1612=0

Thus, the value of f(x1) is 0.

Substitute x=6 in f(x) to get the value of f(x2).

f(x2)=(6)2+8(6)12=36+4812=0

Thus, the value of f(x2) is 0.

Substitute 0 for x0, 2 for x2, 6 for x2, 12 for f(x0), 0 for f(x1) and 0 for f(x2) in equation (3).

x3=(12)[(2)2(6)2]+(0)[(6)2(0)2]+(0)[(0)2(2)2]2(12)[(2)(6)]+2(0)[(6)(0)]+2(0)[(0)(2)]=4

Thus, the value of x3 is 4, this value matches with the results obtained in part (a).

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
4. Using the method of Least Squares, determine to 6-decimal place the necessary values of the coefficient C1 and C2 in the equation from the given data points. 1 y = C, + C2x A C 2.07 8.60 14.42 15.8 Where: ABCDEF is your student number. Example, if your student number is 484321. A = 4 B = 8 C = 4 D = 3 5. Using the same data points given in problem 4, solve for the Newton's Interpolating Polynomials.
Use appropriate Lagrange interpolating polynomials of degrees one, two, and three to approximate each of the following: f(0.43) if f(0) = 1, ƒ(0.25) = 1.64872, ƒ (0.5) = 2.71828, ƒ (0.75) = 4.48169 %3D
Find the three unknown on this problems using Elimination Method and Cramer's Rule. Attach your solutions and indicate your final answer. Problem 1. 7z 5y 3z 16 %3D 3z 5y + 2z -8 %3D 5z + 3y 7z = 0 Problem 2. 4x-2y+3z 1 *+3y-4z -7 3x+ y+2z 5
Knowledge Booster
Background pattern image
Mechanical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Text book image
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Text book image
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Text book image
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Text book image
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Text book image
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Finding Local Maxima and Minima by Differentiation; Author: Professor Dave Explains;https://www.youtube.com/watch?v=pvLj1s7SOtk;License: Standard YouTube License, CC-BY