Lateef Adewale Kareem (2023). Residual Specific Heat Capacity (https://www.mathworks.com/matlabcentral/fileexchange/71086-residual-specific-heat-capacity), MATLAB Central File Exchange. 检索来源 .
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
Updated the initial guess for solving Hall and yarbourough correlation
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.