summaryrefslogtreecommitdiff
path: root/3050/CH2/EX2.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3050/CH2/EX2.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3050/CH2/EX2.5')
-rwxr-xr-x3050/CH2/EX2.5/Ex2_5.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3050/CH2/EX2.5/Ex2_5.sce b/3050/CH2/EX2.5/Ex2_5.sce
new file mode 100755
index 000000000..80e290db0
--- /dev/null
+++ b/3050/CH2/EX2.5/Ex2_5.sce
@@ -0,0 +1,19 @@
+//calculating proximate analysis
+//Example 2.5
+clc
+clear
+m1=1//mass of air dried coal in g
+m2=0.985//mass of dry coal residue after heating for 1hr in g
+m3=0.8//mass of residue after heating for 7min in g
+m4=0.1//mass of last residue
+Mm=m1-m2//mass of moisture in coal sample in g
+Mv=m2-m3//mass of volatile matter in g
+Ma=m4//mass of ash
+%m=Mm*100//percentage moisture
+%v=Mv*100//percentage of volatile matter
+%a=Ma*100//percentage of ash
+%c=100-(%m+%v+%a)//percentage of fixed carbon
+printf('Thus (i)percentage of moisture = %2.1f percent\n',%m)
+printf('(ii)percentage of volatile matter = %2.1f percent\n',%v)
+printf('(iii)percentage of ash = %2.0f percent\n',%a)
+printf('(iv)percentage of fixed carbon = %2.0f percent \n',%c)