summaryrefslogtreecommitdiff
path: root/2735/CH12/EX12.5/Ex12_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2735/CH12/EX12.5/Ex12_5.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 '2735/CH12/EX12.5/Ex12_5.sce')
-rwxr-xr-x2735/CH12/EX12.5/Ex12_5.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2735/CH12/EX12.5/Ex12_5.sce b/2735/CH12/EX12.5/Ex12_5.sce
new file mode 100755
index 000000000..119022ede
--- /dev/null
+++ b/2735/CH12/EX12.5/Ex12_5.sce
@@ -0,0 +1,19 @@
+clc
+clear
+//Initialization of variables
+D=0.0724 //ft
+gc=32.2 //ft/s^2
+rho=1/14
+L=100 //ft
+mu2=1.46*10^(-10)
+dp=2.32
+dia=5 //in
+rho2=48500
+vol=14 //ft^3/lbm
+//calculations
+ref=D^3 *2*dp*gc*rho/(mu2*L)
+mf=rho2*%pi/4 *(dia/12) *sqrt(mu2)
+mfr=mf*vol*60
+//results
+printf("Mass rate of air flow = %d cfm",mfr)
+disp("The answer is a bit different due to rounding off error in textbook")