Numerical Methods For Engineers, 7 Ed
7th Edition
ISBN: 9789352602131
Author: Canale Chapra
Publisher: MCGRAW-HILL HIGHER EDUCATION
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 6, Problem 29P
Develop a user-friendly program for the modified secant method based on Fig. 6.4 and Sec. 6.3.2. Test it by duplicating the computation from Example 6.8.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
3. Using the trial function uh(x) = a sin(x) and weighting function wh(x) = b sin(x) find
an approximate solution to the following boundary value problems by determining the value
of coefficient a. For each one, also find the exact solution using Matlab and plot the exact
and approximate solutions. (One point each for: (i) finding a, (ii) finding the exact solution,
and (iii) plotting the solution)
a.
(U₁xx - 2 = 0
u(0) = 0
u(1) = 0
b. Modify the trial function and find an approximation for the following boundary value
problem. (Hint: you will need to add an extra term to the function to make it satisfy
the boundary conditions.)
(U₁xx - 2 = 0
u(0) = 1
u(1) = 0
f(x)=-0.9x? +1.7x+2.5 Calculate the root of the
function given below: a) by Newton-Raphson
method b) by simple fixed-point iteration
method. (f(x)=0) Use x, = 5 as the starting
value for both methods. Use the approximate
relative error criterion of 0.1% to stop
iterations.
Consider the function p(x) = x² - 4x³+3x²+x-1. Use Newton-Raphson's method with initial guess of 3. What's the updated value of the root at the end of the second
iteration?
Type your answer...
Chapter 6 Solutions
Numerical Methods For Engineers, 7 Ed
Ch. 6 - 6.1 Use simple fixed-point iteration to locate the...Ch. 6 - 6.2 Determine the highest real root of...Ch. 6 - Use (a) fixed-point iteration and (b) the...Ch. 6 - Determine the real roots of f(x)=1+5.5x4x2+0.5x3:...Ch. 6 - 6.5 Employ the Newton-Raphson method to determine...Ch. 6 - Determine the lowest real root of...Ch. 6 - 6.7 Locate the first positive root of
Where x...Ch. 6 - 6.8 Determine the real root of, with the modified...Ch. 6 - 6.9 Determine the highest real root of:...Ch. 6 - 6.10 Determine the lowest positive root...
Ch. 6 - 6.11 Use the Newton-Raphson method to find the...Ch. 6 - 6.12 Given
Use a root location technique to...Ch. 6 - You must determine the root of the following...Ch. 6 - Use (a) the Newton-Raphson method and (b) the...Ch. 6 - 6.15 The “divide and average” method, an old-time...Ch. 6 - (a) Apply the Newton-Raphson method to the...Ch. 6 - 6.17 The polynomial has a real root between 15...Ch. 6 - Use the secant method on the circle function...Ch. 6 - You are designing a spherical tank (Fig. P6.19) to...Ch. 6 - 6.20 The Manning equation can be written for a...Ch. 6 - 6.21 The function has a double root at. Use (a)...Ch. 6 - 6.22 Determine the roots of the following...Ch. 6 - 6.23 Determine the roots of the simultaneous...Ch. 6 - Repeat Prob. 6.23 except determine the positive...Ch. 6 - A mass balance for a pollutant in a well-mixed...Ch. 6 - Fir Prob. 6.25, the root can be located with...Ch. 6 - 6.27 Develop a user-friendly program for the...Ch. 6 - Develop a user-friendly program for the secant...Ch. 6 - 6.29 Develop a user-friendly program for the...Ch. 6 - 6.30 Develop a user-friendly program for Brent’s...Ch. 6 - 6.31 Develop a user-friendly program for the...Ch. 6 - 6.32 Use the program you developed in Prob. 6.31...
Knowledge Booster
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
- 3. Using the trial function u¹(x) = a sin(x) and weighting function w¹(x) = b sin(x) find an approximate solution to the following boundary value problems by determining the value of coefficient a. For each one, also find the exact solution using Matlab and plot the exact and approximate solutions. (One point each for: (i) finding a, (ii) finding the exact solution, and (iii) plotting the solution) a. (U₁xx -2 = 0 u(0) = 0 u(1) = 0 b. Modify the trial function and find an approximation for the following boundary value problem. (Hint: you will need to add an extra term to the function to make it satisfy the boundary conditions.) (U₁xx-2 = 0 u(0) = 1 u(1) = 0arrow_forwardFor the DE: dy/dx=2x-y y(0)=2 with h=0.2, solve for y using each method below in the range of 0 <= x <= 3: Q1) Using Matlab to employ the Euler Method (Sect 2.4) Q2) Using Matlab to employ the Improved Euler Method (Sect 2.5 close all clear all % Let's program exact soln for i=1:5 x_exact(i)=0.5*i-0.5; y_exact(i)=-x_exact(i)-1+exp(x_exact(i)); end plot(x_exact,y_exact,'b') % now for Euler's h=0.5 x_EM(1)=0; y_EM(1)=0; for i=2:5 x_EM(i)=x_EM(i-1)+h; y_EM(i)=y_EM(i-1)+(h*(x_EM(i-1)+y_EM(i-1))); end hold on plot (x_EM,y_EM,'r') % Improved Euler's Method h=0.5 x_IE(1)=0; y_IE(1)=0; for i=2:1:5 kA=x_IE(i-1)+y_IE(i-1); u=y_IE(i-1)+h*kA; x_IE(i)=x_IE(i-1)+h; kB=x_IE(i)+u; k=(kA+kB)/2; y_IE(i)=y_IE(i-1)+h*k; end hold on plot(x_IE,y_IE,'k')arrow_forwardPlease don't provide handwritten solution ......arrow_forward
- Q-2) Find the solution for the LPP below by using the graphical method? Min Z=4x1+3x2 S.to: x1+2x2<6 2x1+x2<8 x127 x1,x2 ≥ 0 Is there an optimal solution and why if not can you extract it?arrow_forwarda) Name one advantage of the Newton-Raphson method. b) Name one disadvantage of the incremental method.arrow_forward6.1Complete the code please.arrow_forward
- Write a brief (a few sentences) discussion about the significance of each of the following in regards to an iterative CFD solution: (a) initial conditions, (b) residual, (c) iteration, and (d) postprocessing.arrow_forwardFind 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 5arrow_forwardA company operates to produce two products x₁ and x2. The production process involves two main resources: labor hours and raw materials. The objective is to maximize the total profit. Below is the formulated linear programming problem: Objective Maximize Subject to Z=2x+3x2 Labour hours Raw materials x1+ 2x2 ≤ 30 x1 + x2 ≤ 20 X1, X2 NO Final Iteration Optimal Tableau Coefficients of: RHS Basic Variables Z x1 X2 X3 X4 Z 1 0 0 1 1 50 X2 0 0 1 1 -1 10 x1 0 1 0 -1 2 10arrow_forward
- Use a step size of 0.1 and round your answers to five decimal places if needed. Use Euler's method to approximate the solution x10 for the IVP y' 8y, y(0) 1. The Euler approximation for x10 isarrow_forwardWe have designed a divide-and-conquer algorithm that runs on an input of size n. This algorithm works by spending O(1) time splitting the problem in half, then does a recursive call on each half, then spends O(n2 ) time combining the solutions to the recursive calls. On small inputs, the algorithm takes a constant amount of time. We want to see how long this algorithm takes, in terms of n to perform the task. (a) First, write a recurrence relation that corresponds to the time-complexity of the above divide and conquer algorithm. (b) Then, solve the relation to come with the worst-case time taken for the algorithm. Please show all work in depth.arrow_forwardneed handwritten answer plzarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
Solve ANY Optimization Problem in 5 Steps w/ Examples. What are they and How do you solve them?; Author: Ace Tutors;https://www.youtube.com/watch?v=BfOSKc_sncg;License: Standard YouTube License, CC-BY
Types of solution in LPP|Basic|Multiple solution|Unbounded|Infeasible|GTU|Special case of LP problem; Author: Mechanical Engineering Management;https://www.youtube.com/watch?v=F-D2WICq8Sk;License: Standard YouTube License, CC-BY
Optimization Problems in Calculus; Author: Professor Dave Explains;https://www.youtube.com/watch?v=q1U6AmIa_uQ;License: Standard YouTube License, CC-BY
Introduction to Optimization; Author: Math with Dr. Claire;https://www.youtube.com/watch?v=YLzgYm2tN8E;License: Standard YouTube License, CC-BY