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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!