From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 812/CH4/EX4.17/4_17.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 812/CH4/EX4.17/4_17.sce (limited to '812/CH4/EX4.17/4_17.sce') diff --git a/812/CH4/EX4.17/4_17.sce b/812/CH4/EX4.17/4_17.sce new file mode 100755 index 000000000..38b8f55c8 --- /dev/null +++ b/812/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) -- cgit