summaryrefslogtreecommitdiff
path: root/1427/CH2/EX2.5/2_5.sce
blob: 756fe491c9b2d1e258022b6d44069ba369ecadc0 (plain)
1
2
3
4
5
6
7
8
9
10
//ques-2.5
//Calculating calorific value of coal sample
clc
m=0.6;//Mass of coal sample
S=4.187;//Specific heat of water (in kJ/kg)
t=6.52;//Rise in temperature
w=2200;//Water equivalent (in g)
heat=(w*S*t)/1000;//Heat liberated by burning coal (in kJ)
CV=heat/m;//Calorific value (in kJ/g)
printf("The calorific value of coal sample is %.1f kJ/g.\n",CV);