summaryrefslogtreecommitdiff
path: root/2657/CH12/EX12.4/Ex12_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2657/CH12/EX12.4/Ex12_4.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 '2657/CH12/EX12.4/Ex12_4.sce')
-rwxr-xr-x2657/CH12/EX12.4/Ex12_4.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2657/CH12/EX12.4/Ex12_4.sce b/2657/CH12/EX12.4/Ex12_4.sce
new file mode 100755
index 000000000..4905cc7b8
--- /dev/null
+++ b/2657/CH12/EX12.4/Ex12_4.sce
@@ -0,0 +1,16 @@
+//Calculations on spray penetration
+clc,clear
+//Given:
+s1=20 //Distance of penetration in cm
+t1=16 //Penetration time in millisec
+P_i1=140 //Injection pressure in bar
+s2=s1 //Same distance of penetration in cm
+P_i2=220 //Injection pressure in bar
+P_c=15 //Combustion chamber pressure in bar
+//Solution:
+deltaP1=P_i1-P_c //Pressure difference for 140 bar injection pressure
+deltaP2=P_i2-P_c //Pressure difference for 220 bar injection pressure
+t2=t1*(s2/s1)*sqrt(deltaP1/deltaP2) //Penetration time for 220 bar injection pressure in millisec
+//Results:
+printf("\n Penetration time for 220 bar injection pressure, t2 = %.1f milli-seconds\n\n",t2)
+//Answer in the book is wrong