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 /1226/CH17/EX17.2/EX17_2.sce | |
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 '1226/CH17/EX17.2/EX17_2.sce')
-rwxr-xr-x | 1226/CH17/EX17.2/EX17_2.sce | 13 |
1 files changed, 13 insertions, 0 deletions
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):")
|