EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 9780100254145
Author: Chapra
Publisher: YUZU
expand_more
expand_more
format_list_bulleted
Concept explainers
Textbook Question
Chapter 5, Problem 25P
Develop a user-friendly subprogram for the modified false-position method based on Fig. 5.15. Test the program by determining the root of the function described in Example 5.6. Perform a number of runs until the true percent recent relative error falls below 0.01%. Plot the true and approximate percent relative errors versus number of iterations on semilog paper. Interpret your results.
Expert Solution & Answer
![Check Mark](/static/check-mark.png)
Want to see the full answer?
Check out a sample textbook solution![Blurred answer](/static/blurred-answer.jpg)
Students have asked these similar questions
A manufacturing company produces two types of products called X and Y. Each product uses four different machines like lathe, drilling,
grinding & milling operations. The profit per unit of selling X and Y are 7 RO and 3 RO respectively. Formulate a linear programming
model with the given constraints to determine the production volume of each product in order to maximize the total profit (in OR).
Solve the following linear programming model by using Graphical method.
Subject to,
6X + 4Y < 24
X + 2Y < 6
-X + Y< 1
Y< 2
and X,Y 2 0
please answer soon and show up 4 iteration in calcuation q2b
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) = 0
Chapter 5 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Ch. 5 - 5.1 Determine the real roots...Ch. 5 - 5.2 Determine the real root of:
(a) Graphically....Ch. 5 - 5.3 Determine the real root of:
(a)...Ch. 5 - Determine the roots of f(x)=1221x+18x22.75x3...Ch. 5 - Locate the first nontrivial root of sin x=x2wherex...Ch. 5 - 5.6 Determine the positive real root of (a)...Ch. 5 - 5.7 Determine the real root of:...Ch. 5 - 5.8 Find the positive square root of 18 using the...Ch. 5 - 5.9 Find the smallest positive root of the...Ch. 5 - 5.10 Find the positive real root of using the...
Ch. 5 - 5.11 Determine the real root of: (a) analytically...Ch. 5 - 5.12 Given
Use bisection to determine the...Ch. 5 - 5.13 The velocity v of a falling parachutist is...Ch. 5 - 5.14 Use bisection to determine the drag...Ch. 5 - As depicted in Fig. P5.15, the velocity of water,...Ch. 5 - 5.16 Water is flowing in a trapezoidal channel at...Ch. 5 - 5.17 You are designing a spherical tank (Fig....Ch. 5 - The saturation concentration of dissolved oxygen...Ch. 5 - 5.19 According to Archimedes principle, the...Ch. 5 - 5.20 Perform the same computation as in Prob....Ch. 5 - 5.21 Integrate the algorithm outlined in Fig. 5.10...Ch. 5 - Develop a subprogram for the bisection method that...Ch. 5 - 5.23 Develop a user-friendly program for the...Ch. 5 - Develop a subprogram for the false-position method...Ch. 5 - 5.25 Develop a user-friendly subprogram for the...Ch. 5 - 5.26 Develop a function for bisection in a similar...
Knowledge Booster
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
- DISCUSSION Before posting to the discussion board, complete the following: The concept of a weak solution of a boundary value problem plays an important role in some numerical solutions including the finite element method. The idea of a "weak solution" can be a rather weak notion. The following problem was presented in lecture 3 of week 8. It is generally not solvable in closed form. 00 on 0arrow_forward3. 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) = 0arrow_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_forwardUse bisection to determine the drag coefficient needed so that an 80-kg parachutist has a velocity of 36 m/s after 4 s of free fall. Note: The acceleration of gravity is 9.81 m/s2 . Start with initial guesses of xl = 0.1 and xu = 0.2 and iterate until the approximate relative error falls below 2%.arrow_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_forwardPlease help, this for Matlab the image is the first question with following 2 and 3 they go together. 2. Solving the question by using bisection.m with the stopping criterion at 1%. Report the root and # of iterations. 3. by using newton-Raphson matlab script with the stopping criterion at 0.1%. Report the root and # of iterations.arrow_forwardfor 0 < x < 1 у (х) %3 Зех - 5 Use the Bisection Method to look for a root of the equation. Begin with values of x = 0.5 and = 0.6. Complete three iterations of the method by filling out the table below. Show your %3D calculations. Xc f(x,) f (x.) Iterations Xr 1 0.5 0.8arrow_forwardIntroduce slack variables as necessary and then write the initial simplex tableau for the given linear Maximize z = x₁ + 9x2 programming problem. subject to x₁ + 2x₂ ≤ 12 6x₁ + x₂ ≤ 10 2x₁ + 2x₂ ≤8 with x₁ ≥0, X₂ ≥0 Complete the initial simplex tableau. X₁ X2 S₁ $2 $3 1 2 1 6 0 1 10 0 0 8 0 0 0 1 0 N NAT 2 ܘ ܘ ܤ N оооarrow_forwardmathforadmi..2dff1dd723 PTU Kadoorie sygini 1930 Technical Department of Applied Mathematics Second Semester 2020/2021 Math for Administration Assignment 2 Question 1 For the function: y = 0.01x- 0.001x² Find the zeros, the vertex and the optimum value (max. or min.) Question 2 Suppose a company has fixed costs of $300 and variable 3 costs of x + 1460 dollars per unit, 4 where x is the total number of units produced. Suppose further that the selling price of its product is 1500 X- ♡ lar Fine break-even points. init. II جامعة Palestine ||arrow_forward2. Write a MATLAB script that computes the following sum while requesting the value of x and n from the user.arrow_forward33.2 solve using MATLAB. do not use syms.arrow_forwardThe natural exponential function can be expressed by . Determine e2by calculating the sum of the series for:(a) n = 5, (b) n = 15, (c) n = 25For each part create a vector n in which the first element is 0, the incrementis 1, and the last term is 5, 15, or 25. Then use element-by-element calculations to create a vector in which the elements are . Finally, use the MATLAB built-in function sum to add the terms of the series. Compare thevalues obtained in parts (a), (b), and (c) with the value of e2calculated byMATLAB.arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
Recommended textbooks for you
- 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
![Text book image](https://www.bartleby.com/isbn_cover_images/9780190698614/9780190698614_smallCoverImage.gif)
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
![Text book image](https://www.bartleby.com/isbn_cover_images/9780134319650/9780134319650_smallCoverImage.gif)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
![Text book image](https://www.bartleby.com/isbn_cover_images/9781259822674/9781259822674_smallCoverImage.gif)
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118170519/9781118170519_smallCoverImage.gif)
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337093347/9781337093347_smallCoverImage.gif)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118807330/9781118807330_smallCoverImage.gif)
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Sampling Methods and Bias with Surveys: Crash Course Statistics #10; Author: CrashCourse;https://www.youtube.com/watch?v=Rf-fIpB4D50;License: Standard YouTube License, CC-BY
Statistics: Sampling Methods; Author: Mathispower4u;https://www.youtube.com/watch?v=s6ApdTvgvOs;License: Standard YouTube License, CC-BY