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 /1052/CH19/EX19.6 | |
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 '1052/CH19/EX19.6')
-rwxr-xr-x | 1052/CH19/EX19.6/196.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1052/CH19/EX19.6/196.sce b/1052/CH19/EX19.6/196.sce new file mode 100755 index 000000000..f5a22b9e0 --- /dev/null +++ b/1052/CH19/EX19.6/196.sce @@ -0,0 +1,16 @@ +clc;
+//Example 19.6
+//page no. 255
+printf("\n Example 19.6 page no. 255\n\n");
+//refer to example 19.5
+//if gasoline has vapor pressure of 50000Pa ,we have to calculate flow rate at whhich cavitation to occur
+P1=101325//upstream pressure,Pa
+P2=50000//given vapor pressure,Pa
+D1=0.06//upstream diameter,m
+D2=0.02//throat diameter,m
+rho=680//density of gasoline
+v2=sqrt((2*(P1-P2))/rho*(1-D2^4/D1^4))//velocity
+printf("\n velocity v2=%f m/s",v2);
+q=(%pi/4)*D2^2*v2//flow rate
+printf("\n flow rate q=%f m^3/s",q);
+
|