summaryrefslogtreecommitdiff
path: root/1427/CH2/EX2.4/2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH2/EX2.4/2_4.sce')
-rw-r--r--1427/CH2/EX2.4/2_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1427/CH2/EX2.4/2_4.sce b/1427/CH2/EX2.4/2_4.sce
new file mode 100644
index 000000000..b3b60d68c
--- /dev/null
+++ b/1427/CH2/EX2.4/2_4.sce
@@ -0,0 +1,13 @@
+//ques-2.4
+//Calculating Gross and net calorific value
+clc
+x=0.83//Mass of fuel (in g)
+W=3500;//Weight of water (in g)
+w=385;//Water equivalent of calorimter (in g)
+t1=26.5;//Initial temperature
+t2=29.2;//Final temperature
+L=587;//Latent heat of steam (in cal/g)
+H=0.7;//Percentage of Hydrogen
+GCV=((W+w)*(t2-t1))/x;//Gross calorific value
+NCV=GCV-0.09*H*L;//Net calorific value
+printf("Gross calorific value is %.1f cal/g and Net calorific value is %.1f cal/g.\n",GCV,NCV);