Problem 46726. [Thermodynamics] Polynomial fitting of heat capacity data
An easy way to describe the temperature-dependence of the ideal gas heat capacity is by use of polynomials. Given are a vector of temperatures T (in Kelvin) and a vector if corresponding heat capacities CP for some substance (in J/mol K).
Your function should perform a polynomial fit of degree N and return a function handle to that polynomial.
Solution CommentsShow comments
Problem Recent Solvers12