EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 8220100254147
Author: Chapra
Publisher: MCG
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 27, Problem 18P
Develop a user-friendly program to solve for the smallest eigenvalue with the power method. Test it by duplicating Example 27.8.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
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?
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')
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
Chapter 27 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Ch. 27 - A steady-state heat balance for a rod can be...Ch. 27 - 27.2 Use the shooting method to solve Prob. 27.1....Ch. 27 - 27.3 Use the finite-difference approach with to...Ch. 27 - 27.4 Use the shooting method to solve
Ch. 27 - Solve Prob. 27.4 with the finite-difference...Ch. 27 - 27.7 Differential equations like the one solved...Ch. 27 - 27.8 Repeat Example 27.4 but for three masses....Ch. 27 - 27.9 Repeat Example 27.6, but for five interior...Ch. 27 - Use minors to expand the determinant of...Ch. 27 - 27.11 Use the power method to determine the...
Ch. 27 - 27.12 Use the power method to determine the...Ch. 27 - Develop a user-friendly computer program to...Ch. 27 - Use the program developed in Prob. 27.13 to solve...Ch. 27 - 27.15 Develop a user-friendly computer program to...Ch. 27 - Use the program developed in Prob. 27.15 to solve...Ch. 27 - 27.17 Develop a user-friendly program to solve...Ch. 27 - Develop a user-friendly program to solve for the...Ch. 27 - 27.19 Use the Excel Solver to directly solve...Ch. 27 - Use MATLAB to integrate the following pair of ODEs...Ch. 27 - The following differential equation can be used to...Ch. 27 - 27.22 Use MATLAB or Mathcad to...Ch. 27 - 27.23 Use finite differences to solve the...Ch. 27 - Solve the nondimensionalized ODE using finite...Ch. 27 - 27.25 Derive the set of differential equations for...Ch. 27 - 27.26 Consider the mass-spring system in Fig....Ch. 27 - 27.27 The following nonlinear, parasitic ODE was...Ch. 27 - A heated rod with a uniform heat source can be...Ch. 27 - 27.29 Repeat Prob. 27.28, but for the following...Ch. 27 - 27.30 Suppose that the position of a falling...Ch. 27 - Repeat Example 27.3, but insulate the left end of...
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
- 25.18 The following is an initial-value, second-order differential equation: d²x + (5x) dx + (x + 7) sin (wt) = 0 dt² dt where dx (0) (0) = 1.5 and x(0) = 6 dt Note that w= 1. Decompose the equation into two first-order differential equations. After the decomposition, solve the system from t = 0 to 15 and plot the results of x versus time and dx/dt versus time.arrow_forwardConsider 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...arrow_forwardPlease don't provide handwritten solution ......arrow_forward
- 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_forwardI need the answer as soon as possiblearrow_forwardx^2-5x^(1/3)+1=0 Has a root between 2 and 2.5 use bisection method to three iterations by hand.arrow_forward
- 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.arrow_forwardFind the optimum assignment for the distribution of tasks across the machines for the side cost matrixarrow_forwardneed handwritten answer plzarrow_forward
- 3. For 4-DOFS system, what are the natural frequencies that can be solved using Standard matrix iteration method? * w1 w2 W4 w5 Must select exactly 2 optionsarrow_forwardAs5arrow_forwarda) Name one advantage of the Newton-Raphson method. b) Name one disadvantage of the incremental method.arrow_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
Lecture 46: Eigenvalues & Eigenvectors; Author: IIT Kharagpur July 2018;https://www.youtube.com/watch?v=h5urBuE4Xhg;License: Standard YouTube License, CC-BY
What is an Eigenvector?; Author: LeiosOS;https://www.youtube.com/watch?v=ue3yoeZvt8E;License: Standard YouTube License, CC-BY