Effacer les filtres
Effacer les filtres

ideal-gas specific heats of various common gases function of temperature

6 vues (au cours des 30 derniers jours)
재훈
재훈 le 2 Avr 2024
Commenté : Dyuman Joshi le 21 Avr 2024
I know that the static pressure specific heat of air, an ideal gas, is 1.005, but in the one I made, it comes out to be 1.0002. What went wrong?
clc; clear all; close all;
M = 28.96;
T = 273.15;
a=28.11; b=0.1967E-2; c=0.4802E-5; d=-1.966E-9;
dcp=(a+(b.*T)+(c.*(T.^2))+(d.*(T.^3)));
cp = dcp./M;
disp(cp);
1.0002
  4 commentaires
Dyuman Joshi
Dyuman Joshi le 3 Avr 2024
Modifié(e) : Dyuman Joshi le 3 Avr 2024
Unfortunately, NIST has not published any data regarding Shomate polynomials of Air (If I had to guess why - I would say it is probably because air is a mixture of different elements and compounds, thus it woud be difficult to obtain data for it).
I could only find the values for N2, O2, H2, H2O and CH4.
재훈
재훈 le 12 Avr 2024
Sorry for the late reply. Thanks for looking into the values. But I don't think it's needed now. Nonetheless, thank you for your help and have a nice day :) cheerio(I actually finished the assignment and it's all thanks to you).

Connectez-vous pour commenter.

Réponse acceptée

VBBV
VBBV le 2 Avr 2024
Modifié(e) : VBBV le 2 Avr 2024
Hi @재훈 if you consider a change in sign for the last term it would result in 1.005
M = 28.9; % assune
T = 273.15;
a=28.11; b=0.1967E-2; c=0.4802E-5; d=-1.966E-9;
dcp=(a+(b.*T)+(c.*(T.^2))-(d.*(T.^3)));
%changge in sign here
cp = dcp./M;
disp(cp);
1.0050
  2 commentaires
재훈
재훈 le 2 Avr 2024
Wow thx for your help. It's really helpful. Have a good day!
Dyuman Joshi
Dyuman Joshi le 21 Avr 2024
Although @Angelo Yeo has accepted this answer, I do not think this is a right approach to solving this problem.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by