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 --- 1226/CH17/EX17.2/EX17_2.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1226/CH17/EX17.2/EX17_2.sce (limited to '1226/CH17/EX17.2/EX17_2.sce') diff --git a/1226/CH17/EX17.2/EX17_2.sce b/1226/CH17/EX17.2/EX17_2.sce new file mode 100755 index 000000000..ba68eac53 --- /dev/null +++ b/1226/CH17/EX17.2/EX17_2.sce @@ -0,0 +1,13 @@ +clc;funcprot(0);//EXAMPLE 17.2 +// Initialisation of Variables +n=4;........................//No of cylinders +P=14.7;....................//Power developed in kW +N=1000;....................//Engine speed in rpm +Pmi=5.5;....................//Mean effective pressure in bar +lbyd=1.5;...................//Ratio of stroke to bore +k=0.5;.......................//For four stroke engine +//Calculations +d=((P*6)/(n*Pmi*N*k*10*(%pi/4)*lbyd))^(1/3);......................//Calculation of bore in m +l=lbyd*d;................................//Calculation of stroke in m +disp(d*1000,"The bore of the engine (in mm):") +disp(l*1000,"The stroke of the engine (in mm):") -- cgit