summaryrefslogtreecommitdiff
path: root/2510/CH3/EX3.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH3/EX3.8
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 '2510/CH3/EX3.8')
-rwxr-xr-x2510/CH3/EX3.8/Ex3_8.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2510/CH3/EX3.8/Ex3_8.sce b/2510/CH3/EX3.8/Ex3_8.sce
new file mode 100755
index 000000000..cfc2faa33
--- /dev/null
+++ b/2510/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,13 @@
+//Variable declaration:
+CpM = 0.61 //Heat capacity of methanol (cal/g.°C)
+G = 454 //Grams in a pound
+B = 1.0/252.0 //Btu in a calorie
+C = 1.0/1.8 //Degree celsius in a degree fahrenheit
+
+//Calculation:
+Cp = CpM*G*B*C //Heat capacity in English units (Btu/lb.°F)
+
+//Result:
+disp("Heat capacity in English units is: ")
+disp(Cp)
+disp(" Btu/lb.°F")