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 /2090/CH10/EX10.4 | |
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 '2090/CH10/EX10.4')
-rwxr-xr-x | 2090/CH10/EX10.4/Chapter10_example4.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/2090/CH10/EX10.4/Chapter10_example4.sce b/2090/CH10/EX10.4/Chapter10_example4.sce new file mode 100755 index 000000000..8b93d9cdc --- /dev/null +++ b/2090/CH10/EX10.4/Chapter10_example4.sce @@ -0,0 +1,20 @@ +clc
+clear
+//Input data
+s=20;//Spray penetration in cm
+t1=15.7;//The spray penetration of 20 cm in ms
+pi1=150;//The injection pressure in bar
+pi2=450;//The injection pressure to be used in bar
+p2=15;//The combustion chamber pressure in bar
+d1=0.34;//The diameter of the orifice in mm
+s1=20;//The penetration for an orifice in cm
+d2=0.17;//If the diameter of the orifice in cm
+t11=12;//The spray penetration in ms
+
+//Calculations
+t2=(t1*(pi1-p2)^(1/2))/(pi2-p2)^(1/2);//The time required for the spray to penetrate in ms
+s2=d2*(s1/d1);//The penetration of the orifice in cm
+t21=t11*(d2/d1);//The time required for the spray to penetrate in ms
+
+//Output
+printf('(a) The time required for the spray to penetrate = %3.2f ms \n (b) The spray penetration of the orifice = %3.0f cm \n The time required for the spray to penetrate = %3.0f ms ',t2,s2,t21)
|