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 18, Problem 18P
Test the program you developed in Prob. 18.17 by duplicating the computation from Example 18.5.
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
Use the graphical method to show that the following model has no feasible solutions.
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
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 18 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Ch. 18 - 18.1 Estimate the common logarithm of 10 using...Ch. 18 - 18.2 Fit a second-order Newton’s interpolating...Ch. 18 - 18.3 Fit a third-order Newton’s interpolating...Ch. 18 - Repeat Probs. 18.1 through 18.3 using the Lagrange...Ch. 18 - 18.5 Given these...Ch. 18 - 18.6 Given these data
x 1 2 3 5 7 8
...Ch. 18 - Repeat Prob. 18.6 using Lagrange polynomials of...Ch. 18 - 18.8 The following data come from a table that was...Ch. 18 - 18.9 Use Newton’s interpolating polynomial to...Ch. 18 - Use Newtons interpolating polynomial to determine...
Ch. 18 - 18.11 Employ inverse interpolation using a cubic...Ch. 18 - 18.12 Employ inverse interpolation to determine...Ch. 18 - 18.13 Develop quadratic splines for the first five...Ch. 18 - 18.14 Develop cubic splines for the data in Prob....Ch. 18 - Determine the coefficients of the parabola that...Ch. 18 - Determine the coefficients of the cubic equation...Ch. 18 - 18.17 Develop, debug, and test a program in either...Ch. 18 - 18.18 Test the program you developed in Prob....Ch. 18 - 18.19 Use the program you developed in Prob. 18.17...Ch. 18 - Use the program you developed in Prob. 18.17 to...Ch. 18 - Develop, debug, and test a program in either a...Ch. 18 - 18.22 A useful application of Lagrange...Ch. 18 - Develop, debug, and test a program in either a...Ch. 18 - Use the software developed in Prob. 18.23 to fit...Ch. 18 - Use the portion of the given steam table for...Ch. 18 - The following is the built-in humps function that...Ch. 18 - 18.28 The following data define the sea-level...Ch. 18 - 18.29 Generate eight equally-spaced points from...Ch. 18 - 18.30 Temperatures are measured at various points...
Additional Engineering Textbook Solutions
Find more solutions based on key concepts
(a) Show that (x) = x2 is an explicit solution to xdydx = 2y on the interval (, ). (b) Show that (x) = ex x is...
Fundamentals of Differential Equations (9th Edition)
Analytic Functions. Find fz=ux,y+ivx,y with u or v as given. Check by the Cauchy Reimann equations for analyti...
Advanced Engineering Mathematics
|4.2| = ?
Basic Technical Mathematics
Given estimates Kij of the entries of K and estimates 1 and 2 of the eigenvalues of K, show how to obtain an es...
Differential Equations: An Introduction to Modern Methods and Applications
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
- answer is given, use double integration method and neatly pleasearrow_forwardQ-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_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
- 2. Solve the following ODE in space using finite difference method based on central differences with error O(h). Use a five node grid. 4u" - 25u0 (0)=0 (1)=2 Solve analytically and compare the solution values at the nodes.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_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_forward
- 1. The following transportation problem of cost matrix is: Destination Supply A 7. 10 6. 80 15 Demand 75 20 50 Sources Requirement: Is it what type of transportation problem? Discuss the other types of it. The penalty costs for not satisfying demand at the warehouses D, E, and F are TK. 5, 3, and 2 per unk respectively. Determine minimum transportation cost by using Lest Cost Method (LCM)arrow_forwardFor the following system, perform only the first elimination using Gaussian Elimination with partial pivoting.arrow_forwardHelp me solve this USING MATLABarrow_forward
- Hello, could I get some help with a Differential Equations problem that involves Eigenvalues and Eigenvectors? The set up is: There are two toy rail cars, Car 1, and Car 2. Car 1 has a mass of 2 kg, and is traveling 3 m/s towards Car 2, which has a mass of 1 kg, and is traveling towards Car 1 at 2 m/s. There is a bumper on the second rail car that engages at the moment the cars hit (connecting Car 1 and Car 2), and does not let go. The bumper acts like a spring with spring constant K = 2 N/m. Car 2 is 7 m from the wall at the time of collision (Car 2 is between Car 1 and the wall). I have attached the work I have done so far, but I'm not understanding how to find x1(t) and x2(t), how we know Car 2 hits the wall (or moves away from it), and at what speed Car 1 travels to stay in place after link-up (given: 1 m/s, but not sure why that is). Thank you in advance.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_forward25.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_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
![Text book image](https://www.bartleby.com/isbn_cover_images/9781305387102/9781305387102_smallCoverImage.gif)
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
Sequences and Series Introduction; Author: Mario's Math Tutoring;https://www.youtube.com/watch?v=m5Yn4BdpOV0;License: Standard YouTube License, CC-BY
Introduction to sequences; Author: Dr. Trefor Bazett;https://www.youtube.com/watch?v=VG9ft4_dK24;License: Standard YouTube License, CC-BY