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/CH3/EX3.11/Chapter3_example11.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2168/CH3/EX3.11/Chapter3_example11.sce (limited to '2168/CH3/EX3.11') diff --git a/2168/CH3/EX3.11/Chapter3_example11.sce b/2168/CH3/EX3.11/Chapter3_example11.sce new file mode 100755 index 000000000..4b1557a68 --- /dev/null +++ b/2168/CH3/EX3.11/Chapter3_example11.sce @@ -0,0 +1,17 @@ +clc +clear +d=0.25//Diameter of the cylinder in m +L=0.35//Stroke in m +Cv=1500//Clearance volume in c.c +s=5//cut off ratio takes place at 5 percent of stroke +a=1.4//Explosion ratio +g=1.4//Ratio of specific heats for air + +//Calculations +Vs=(3.14/4)*d^2*L//Stroke volume in m^3 +r=(Vs*10^6+Cv)/Cv//Compression ratio +k=(Cv+((s/100)*Vs*10^6))/Cv//Cut off ratio +na=(1-((1/(r^(g-1)))*((a*k^g-1)/((a-1)+a*g*(k-1)))))*100//Air standard efficiency in percent + +//Output +printf('The air standard efficiency of the engine is %3.1f percent',na) -- cgit