Residual Specific Heat Capacity

This script compute the ratio of the residual specific heat capacity to the universal gas constant

You are now following this Submission

% ResCpRatio.m
% This script compute the ratio of the residual specific heat capacity to
% the universal gas constant using Hall and yarborough correlation for
% compresibility factor.
%
% Pr = pseudoreduced pressure;
% Tr = pseudoreduced temperature;
% Written by Lateef Kareem - 10/09/2022
% All equations programed are from the paper in the link below
% https://www.researchgate.net/profile/Lateef_Kareem/publication/235961260_Specific_Heat_Capacity_of_Natural_Gas_Expressed_as_a_Function_of_Its_Specific_gravity_and_Temperature/links/57dfabfa08ae5292a37f7fd3/Specific-Heat-Capacity-of-Natural-Gas-Expressed-as-a-Function-of-Its-Specific-gravity-and-Temperature.pdf

Cite As

Lateef Adewale Kareem (2026). Residual Specific Heat Capacity (https://au.mathworks.com/matlabcentral/fileexchange/71086-residual-specific-heat-capacity), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.0

Eliminated the need for gauss legendre integrator by using matlab's default integrator and arrayfun. Also improve the computation of the integrands by using simple definition for A, B, C and D

1.0.2

Updated the initial guess for solving Hall and yarbourough correlation

1.0.1

No need to consider case Pr = 0, since a gauss quadrature method used in the algorithm will not evaluate the function at the end point of the integration interval.

1.0.0