Connect 1-semester Access Card For Numerical Methods For Engineers
7th Edition
ISBN: 9781259168772
Author: Chapra, Steven, Canale, Raymond
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 7, Problem 24P
Develop an M-file function for the modified secant method based on Fig. 6.4 and Sec. 6.3.2. Along with the initial guess and the perturbation fraction, pass the function as an argument. 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
Use 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%.
The following data describe the dissolved oxygen concentration at sea level for freshwater as a function of temperature.
In the light of these data, the amount of dissolved oxygen at a temperature of 18 degreesa) Estimate with using the linear interpolation polynomial.b) Estimate using the 2nd order Lagrangian interpolation polynomial.
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
Connect 1-semester Access Card For 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...
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
- Linearize the model ? = ? ? ?^(?? )and solve for the coefficients by hand using the following data x 0.1 0.2 0.4 0.6 0.9 1.3 1.5 1.7 1.8 y 0.75 1.25 1.45 1.25 0.85 0.55 0.35 0.28 0.18arrow_forwardWrite 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_forwardanswer is given, use double integration method and neatly pleasearrow_forward
- The vertical cross section of an irrigation canal is modeled by f (x) = 5x2 / x2+ 4 where x is measured in feet and x = 0 corresponds to the center of the canal. Use the integration capabilities of a graphing utility to approximate the fluid force against a vertical gate used to stop the flow of water when the water is 3 feet deep?arrow_forwardDetermine the coefficients (a and b) for the baseflow (Qb) in using the data below. Find values for a and b that satisfy the given equation shown below. Present the figures or plots utilized during the estimation and determination of a and b. Compare the obtained b value with theoretical values such as b = 1 and b = 1.5 for large time intervals (t), and b = 3 for small time intervals.arrow_forwardCircle final answer Question: Which series helps us to derive the discretized form of the governing equations? Remember to circle final answerarrow_forward
- A certain ideal gas (unknown) inside a close piston-cylinder assembly undergoes a set of processesthat composed of Isothermal expansion from State point 1 to state point 2, Isometric heat rejectionfrom state point 2 to state point 3, and Isentropic compression from state point 3 back to the initialcondition. If the maximum pressure is 3000kPa and maximum and minimum volume is 200cm3and50cm3, analyze the problem and perform the following:a. Draw and label the graph of this set of processes in the P-V and T-S diagram showing the statepoint numbers and energy directions.b. From the known ideal gases as shown in Table 1.0, select the best suited ideal gas to attain theprocesses stated if the lowest pressure is limited to 629.8kPa. Assume a constant specific heat.c. For the selected ideal gas from b, compute the work of compression (kJ/kg), work of expansion(kJ/kg), and heat rejected (kJ/kgarrow_forwardA certain ideal gas (unknown) inside a close piston-cylinder assembly undergoes a set of processesthat composed of Isothermal expansion from State point 1 to state point 2, Isometric heat rejectionfrom state point 2 to state point 3, and Isentropic compression from state point 3 back to the initialcondition. If the maximum pressure is 3000kPa and maximum and minimum volume is 200cm3and50cm3, analyze the problem and perform the following: a. Draw and label the graph of this set of processes in the P-V and T-S diagram showing the statepoint numbers and energy directions. b. From the known ideal gases as shown in Table 1.0, select the best suited ideal gas to attain theprocesses stated if the lowest pressure is limited to 629.8kPa. Assume a constant specific heat. c. For the selected ideal gas from b, compute the work of compression (kJ/kg), work of expansion(kJ/kg), and heat rejected (kJ/kg)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_forward
- T(1)=199.583 T(2)=198.67 T(3)=195.7569 Solve Using Finite Elemental method only need step wise step and correct ansarrow_forwardᴀ ꜱᴛᴇᴇʟ ʙᴇ ʀᴏᴅ ᴏɴ ʙʀɪᴅɢᴇ ᴍᴜꜱᴛ ʙᴇ ᴍᴀᴅᴇ ᴛᴏ ᴡɪᴛʜꜱᴛᴀɴᴅ ᴀ ᴘᴜʟʟ ᴏꜰ 600 ʟʙꜱ, ꜰɪɴᴅ ᴛʜᴇ ᴅɪᴀᴍᴇᴛᴇʀ ᴏꜰ ᴛʜᴇ ʀᴏᴅ ᴀꜱꜱᴜᴍɪɴɢ ᴀ ꜰᴀᴄᴛᴏʀ ᴏꜰ ꜱᴀꜰᴇᴛʏ ᴏꜰ 5 ᴀɴᴅ ᴜʟᴛɪᴍᴀᴛᴇ ꜱᴛʀᴇꜱꜱ ᴏꜰ 64,000 ᴘꜱɪ. (Show solution) ᴀ.) 0.705 ʙ.) 0.981 ᴄ.) 0.809 ᴅ.) 0.773arrow_forwardQ4 Beta =111 Please provide justified answer asap to get a upvotearrow_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
Graph Theory: Euler Paths and Euler Circuits; Author: Mathispower4u;https://www.youtube.com/watch?v=5M-m62qTR-s;License: Standard YouTube License, CC-BY
WALK,TRIAL,CIRCUIT,PATH,CYCLE IN GRAPH THEORY; Author: DIVVELA SRINIVASA RAO;https://www.youtube.com/watch?v=iYVltZtnAik;License: Standard YouTube License, CC-BY