Numerical Methods For Engineers, 7 Ed
Numerical Methods For Engineers, 7 Ed
7th Edition
ISBN: 9789352602131
Author: Canale Chapra
Publisher: MCGRAW-HILL HIGHER EDUCATION
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
McGilla Golf has decided to sell a new line of golf clubs. The clubs will sell for $895 per set and have a variable cost of $431 per set. The company has spent $200,000 for a marketing study that determined the company will sell 80,000 sets per year for seven years. The marketing study also determined that the company will lose sales of 8,600 sets per year of its high-priced clubs. The high-priced clubs sell at $1,325 and have variable costs of $645. The company will also increase sales of its cheap clubs by 10,800 sets per year. The cheap clubs sell for $340 and have variable costs of $141 per set. The fixed costs each year will be $14,350,000. The company has also spent $1,500,000 on research and development for the new clubs. The plant and equipment required will cost $43,700,000 and will be depreciated on a straight-line basis. The new clubs will also require an increase in net working capital of $3,625,000 that will be returned at the end of the project. The tax rate is 25…
Tri-County Utilities, Inc., supplies natural gas to customers in a three-county area. The company purchases natural gas from two companies: Southern Gas and Northwest Gas. Demand forecasts for the coming winter season are as follows: Hamilton County, 400 units; Butler County, 200 units; and Clermont County, 300 units. Contracts to provide the following quantities have been written: Southern Gas, 500 units; and Northwest Gas, 400 units. Distribution costs for the counties vary, depending upon the location of the suppliers. The distribution costs per unit (in thousands of dollars) are as follows. From To Hamilton Butler Clermont Southern Gas 10 20 15 Northwest Gas 12 15 18 (a) Develop a network representation of this problem. (Submit a file with a maximum size of 1 MB.) Choose File No file chosen Assignment 3 graph.docx Score: 1 out of 1 Comment: (b) Develop a linear programming model that can be used to determine the plan that will minimize total distribution costs (in thousands of…
Use the method of undetermined coefficients to solve the given nonhomogeneous system. dx dt  =  2x + 3y − 8   dy dt  =  −x − 2y + 6 X(t) =
Knowledge Booster
Background pattern image
Advanced Math
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
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Trigonometry (MindTap Course List)
Trigonometry
ISBN:9781337278461
Author:Ron Larson
Publisher:Cengage Learning
Text book image
College Algebra
Algebra
ISBN:9781938168383
Author:Jay Abramson
Publisher:OpenStax
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
Algebra and Trigonometry (MindTap Course List)
Algebra
ISBN:9781305071742
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:Cengage Learning
Text book image
Functions and Change: A Modeling Approach to Coll...
Algebra
ISBN:9781337111348
Author:Bruce Crauder, Benny Evans, Alan Noell
Publisher:Cengage Learning
Text book image
College Algebra
Algebra
ISBN:9781337282291
Author:Ron Larson
Publisher:Cengage Learning
Finding Local Maxima and Minima by Differentiation; Author: Professor Dave Explains;https://www.youtube.com/watch?v=pvLj1s7SOtk;License: Standard YouTube License, CC-BY