summaryrefslogtreecommitdiff
path: root/2168/CH15/EX15.3/Chapter15_example3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2168/CH15/EX15.3/Chapter15_example3.sce')
-rwxr-xr-x2168/CH15/EX15.3/Chapter15_example3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2168/CH15/EX15.3/Chapter15_example3.sce b/2168/CH15/EX15.3/Chapter15_example3.sce
new file mode 100755
index 000000000..e22c7a16b
--- /dev/null
+++ b/2168/CH15/EX15.3/Chapter15_example3.sce
@@ -0,0 +1,17 @@
+clc
+clear
+//Input data
+n=4//Number of cylinders
+p=450//Brake Horse power in B.H.P
+N=200//Speed in r.p.m
+f=0.2//Fuel rate in kg per horse power hour
+g=0.9//Specific gravity of fuel
+
+//Output
+Fc=(p*f)//Fuel consumption per hour in kg/hr
+Fcy=(Fc/n)//Fuel consumption per cylinder in kg/hr
+Fcyc=(Fcy/(60*(N/2)))//Fuel consumption per cycle in kg
+q=(Fcyc/(g*1000))*10^6//Quantity of fuel injected per cylinder per cycle in c.c
+
+//Output
+printf('The quantity of fuel to be injected per cycle per cylinder is %3.3f c.c',q)