summaryrefslogtreecommitdiff
path: root/746/CH4/EX4.17/4_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '746/CH4/EX4.17/4_17.sce')
-rwxr-xr-x746/CH4/EX4.17/4_17.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/746/CH4/EX4.17/4_17.sce b/746/CH4/EX4.17/4_17.sce
new file mode 100755
index 000000000..38b8f55c8
--- /dev/null
+++ b/746/CH4/EX4.17/4_17.sce
@@ -0,0 +1,10 @@
+//Mass flow rate//
+pathname=get_absolute_file_path('4.17.sce')
+filename=pathname+filesep()+'4.17-data.sci'
+exec(filename)
+//Density of tank(in kg/m^3):
+d=(p1+patm)/R/T
+//Mass flow rate of air into the tank(in kg/sec):
+m=d*V*cv*r/R/T*1000
+printf("\n\nRESULTS\n\n")
+printf("\n\nMass flow rate of air into the tank: %.3f g/sec\n\n",m)