ESG 302: Computational Project
The Cp,m for many materials can be expressed by the polynomial:
, = + +
−2 + ⋯
Where T is the temperature in K.
(1) Write a code in Matlab to compute the thermodynamic functions molar Enthalpy (H)
and Entropy (S), with an option for user to input:
• the temperature range,
• the number of intervals (n) to compute the area under the curve using the Simpson’s
1/3 rule, and
• the coefficients A, B, C and D in the equation approximation of Cp,m.
(2) Using the code developed in the previous task compute molar H and S for AlN. Based
on experimental observations (Koshchenko et al. (1984)), the Cp,m of AlN (300