diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2870/CH5/EX5.1/Ex5_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2870/CH5/EX5.1/Ex5_1.sce')
-rwxr-xr-x | 2870/CH5/EX5.1/Ex5_1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2870/CH5/EX5.1/Ex5_1.sce b/2870/CH5/EX5.1/Ex5_1.sce new file mode 100755 index 000000000..8770b06e9 --- /dev/null +++ b/2870/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,17 @@ +clc;clear;
+//Example 5.1
+
+//given data
+V=10;
+t=50;
+p=1;//in kg/L
+re=0.8/2/100;//in m
+
+//calculations
+Vd=V/t*3.7854;//factor 0f 3.7854 for gal to L
+disp(Vd,'volumne flow rate through hose in L/s');
+m=p*Vd;
+disp(m,'mass flow rate through hose in kg/s');
+Ae=%pi*re^2;
+Ve=Vd/Ae/1000;//factor of 1000 for L to m^3
+disp(Ve,'average velocity at the nozzle in m/s');
|