summaryrefslogtreecommitdiff
path: root/2015/CH8/EX8.19
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2015/CH8/EX8.19
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 '2015/CH8/EX8.19')
-rwxr-xr-x2015/CH8/EX8.19/8_19.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2015/CH8/EX8.19/8_19.sce b/2015/CH8/EX8.19/8_19.sce
new file mode 100755
index 000000000..1259bbcbc
--- /dev/null
+++ b/2015/CH8/EX8.19/8_19.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation of variables
+t1=300 //temp in k
+sf=2.9409 //kj/kgk
+s1=6.44125 //kj/kgk
+hf=-133.347 //kj/kg
+h1=272.763 //kj/kg
+w=-4690.5
+//CALCULATIONS
+mw=(t1*(sf-s1)-(hf-h1))
+fom=mw/w
+//RESULTS
+printf('minimum work is %2fkj/kg of o2 liquefied',mw)
+printf('\nfigure of merit is %2f',fom)
+//no 8.17 and 8.19 in tb print mistake