summaryrefslogtreecommitdiff
path: root/1808/CH5/EX5.11/Chapter5_Exampl11.sce
diff options
context:
space:
mode:
Diffstat (limited to '1808/CH5/EX5.11/Chapter5_Exampl11.sce')
-rw-r--r--1808/CH5/EX5.11/Chapter5_Exampl11.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1808/CH5/EX5.11/Chapter5_Exampl11.sce b/1808/CH5/EX5.11/Chapter5_Exampl11.sce
new file mode 100644
index 000000000..6990a0f42
--- /dev/null
+++ b/1808/CH5/EX5.11/Chapter5_Exampl11.sce
@@ -0,0 +1,14 @@
+clc
+clear
+//INPUT DATA
+nv=0.8;//volumetric efficiency in percentage
+vc=3;//clearence volume in litre
+p2=8;//air compressor pressure in bar
+p1=0.98;//air compressor pressure in bar
+
+//CALCULATIONS
+vs=12.085/(1-nv);//stroke volume in m^3
+d=((vs/1000)*4/3.14)^(1/3);//cylinder length in m
+
+//OUTPUT
+printf('(i)The stroke volume is %3.5f litre \n (ii)cylinder dimensions (l=d) is %3.4f m ',vs,d)