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 7, Problem 7P
Use the program developed in Prob. 7.6 to determine the real roots of Prob. 7.4a. Construct a graph (by hand or with a software package) to develop suitable starting guesses.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
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...
(3)
Method. Print the code and the answer for an error tolerance &₁ = 0.01%.
Problem 5.14: Hint: you can reuse code from above. Print the Matlab code,
and clearly indicate your answer.
For 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')
Chapter 7 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Ch. 7 - Divide a polynomial f(x)x47.5x3+14.5x2+3x20 by the...Ch. 7 - Divide a polynomial f(x)=x55x4+x36x27x+10 by the...Ch. 7 - Prob. 3PCh. 7 - 7.4 Use Müller’s method or MATLAB to determine the...Ch. 7 - 7.6 Develop a program to implement Muller’s...Ch. 7 - 7.7 Use the program developed in Prob. 7.6 to...Ch. 7 - Develop a program to implement Bairstows method....Ch. 7 - Use the program developed in Prob. 7.8 to...Ch. 7 - Determine the real root of x3.5=80 with Excel,...Ch. 7 - 7.11 The velocity of a falling parachutist is...
Ch. 7 - Determine the roots of the simultaneous nonlinear...Ch. 7 - 7.13 Determine the roots of the simultaneous...Ch. 7 - 7.14 Perform the identical MATLAB operations as...Ch. 7 - 7.15 Use MATLAB or Mathcad to determine the...Ch. 7 - A two-dimensional circular cylinder is placed in a...Ch. 7 - 7.17 When trying to find the acidity of a...Ch. 7 - Consider the following system with three unknowns...Ch. 7 - 7.19 In control systems analysis, transfer...Ch. 7 - Develop an M-file function for bisection in a...Ch. 7 - 7.21 Develop an M-fi le function for the...Ch. 7 - 7.22 Develop an M-fi le function for the...Ch. 7 - Develop an M-fi le function for the secant method...Ch. 7 - Develop an M-file function for the modified secant...
Additional Engineering Textbook Solutions
Find more solutions based on key concepts
For each hour of class time, how many hours outside of class are recommended for studying and doing homework?
Elementary Algebra For College Students (10th Edition)
Students in a Listening Responses class bought 40 tickets for a piano concert. The number of tickets purchased ...
Elementary and Intermediate Algebra: Concepts and Applications (7th Edition)
1. How is a sample related to a population?
Elementary Statistics: Picturing the World (7th Edition)
(a) Make a stem-and-leaf plot for these 24 observations on the number of customers who used a down-town CitiBan...
APPLIED STAT.IN BUS.+ECONOMICS
Evaluate the integrals in Exercises 1–46.
1.
University Calculus: Early Transcendentals (4th Edition)
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
- 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 5arrow_forwardf(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.arrow_forwardQ3) Find the optimal solution by using graphical method:. Max Z = x1 + 2x2 Subject to : 2x1 + x2 < 100 X1 +x2 < 80 X1 < 40 X1, X2 2 0arrow_forward
- (2) iteration. Problem 5.2: For part (a), plot the function using Matlab from x = 0 to 1, and guess the root. For part (b), write a Matlab function to do the Bisection Method. Print the code and the answer for an error tolerance εa = 0.01%.arrow_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_forwardSolve fast please with correct and by hand solve pleasearrow_forward
- Problem 6.5arrow_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_forwardUse 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_forward
- can you solve it with explanation,thx.arrow_forward3. 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_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
arrow_back_ios
SEE MORE QUESTIONS
arrow_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
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Trigonometric Ratios; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=9-eHMMpQC2k;License: Standard YouTube License, CC-BY