summaryrefslogtreecommitdiff
path: root/575/CH5/EX5.4.1/5_4_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /575/CH5/EX5.4.1/5_4_1.sce
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 '575/CH5/EX5.4.1/5_4_1.sce')
-rwxr-xr-x575/CH5/EX5.4.1/5_4_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/575/CH5/EX5.4.1/5_4_1.sce b/575/CH5/EX5.4.1/5_4_1.sce
new file mode 100755
index 000000000..df9331189
--- /dev/null
+++ b/575/CH5/EX5.4.1/5_4_1.sce
@@ -0,0 +1,10 @@
+clc
+pathname=get_absolute_file_path('5_4_1.sce')
+filename=pathname+filesep()+'541.sci'
+exec(filename)
+printf("All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+z=0.934
+printf(" \n From the Table, z= %f",z)
+ncap=P*Vcap*101.325/(z*R*T*1.01325)
+mcap=ncap*M
+printf(" \n Mass flow rate of Methane = %f Kg/hr",mcap) \ No newline at end of file