summaryrefslogtreecommitdiff
path: root/944/CH2/EX2.1/example2_1_TACC.sce
blob: 039c3372777588d5e83eaba15cb6332dee3cf1d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//example 2.1

clear;
clc;

//Given:
m=25;//weight of water vapour [grams]
w=18;//molecular weight of water vapour [grams/mol]
T=9.69;//increase in temperature [K]
Qp=0.45;//heat supplied at constant pressure[KJ]


//To find the molar constant pressure specific heat
n=m/w;//no. of moles of water vapour
Cp=Qp/(n*T);//specific heat capacity at constant pressure[KJ]
printf("The specific heat capacity at constant pressure = %f KJ/K/mol",Cp)