summaryrefslogtreecommitdiff
path: root/2015/CH9/EX9.6/9_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2015/CH9/EX9.6/9_6.sce')
-rwxr-xr-x2015/CH9/EX9.6/9_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2015/CH9/EX9.6/9_6.sce b/2015/CH9/EX9.6/9_6.sce
new file mode 100755
index 000000000..040b582be
--- /dev/null
+++ b/2015/CH9/EX9.6/9_6.sce
@@ -0,0 +1,18 @@
+clc
+//initialisation of variables
+d=0.2 //diameter in m
+lc=0.01 //linear clearance
+l=0.3 //lenght
+rp=7
+n=1.25
+pi=(22/7)
+//CALCULATIONS
+cv=((pi/4)*((d)^2)*lc)
+sv=((pi/4)*(d)^2*l)
+cr=cv/sv
+veff=(1+cr-cr*(rp)^(1/n))
+x=veff*sv
+//RESULTS
+printf('clearance ratio is %2f',cr)
+printf('\nvolumetric efficiency is %2f',veff)
+printf('\nvolume of air taken in is %2fm*m*/stroke',x)