Question
Write MATLAB scripts to solve problem 5.21 from the textbook (bisection, specific heat) four times: a) with the bisection method (starting interval [0, 1200]) b)
Write MATLAB scripts to solve problem 5.21 from the textbook (bisection, specific heat) four times:
a) with the bisection method (starting interval [0, 1200])
b) with the false-position method (starting interval [0, 1200])
c) with the Newton-Raphson method (x0 = 0)
d) with the secant method ((x0, x1) = (0, 1))
use percent relative error = 10^-6 as stopping criterion.
5.21-Mechanical engineers, as well as most other engineers, use thermodynamics extensively in their work. The following polynomial can be used to relate the zero-pressure specific heat of dry air cp kJ/(kg K) to temperature (K):
cp = 0.99403 + 1.671 10?4T + 9.7215 10?8T2 ?9.5838 10?11T3 + 1.9520 10?14T 4
Develop a plot of cp versus a range of T = 0 to 1200 K, and then determine the temperature that corresponds to a specific heat of 1.1 kJ/(kg K).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started