From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2168/CH15/EX15.3/Chapter15_example3.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2168/CH15/EX15.3/Chapter15_example3.sce (limited to '2168/CH15/EX15.3/Chapter15_example3.sce') 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) -- cgit