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 --- 443/CH20/EX20.3/20_3.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 443/CH20/EX20.3/20_3.sce (limited to '443/CH20/EX20.3') diff --git a/443/CH20/EX20.3/20_3.sce b/443/CH20/EX20.3/20_3.sce new file mode 100755 index 000000000..3f3bca9c8 --- /dev/null +++ b/443/CH20/EX20.3/20_3.sce @@ -0,0 +1,23 @@ +pathname=get_absolute_file_path('20_3.sce') +filename=pathname+filesep()+'20_3_data.sci' +exec(filename) +//Question 20.3 +//hydrogen ratio +h=(26*1)/(12*12) +//Fuel to air ratio +far=0.33*(1+h)*((CO2+CO)/N) +//Mass flow of air +ma=ff/(far*60) +//Volume total (in m3/cycle) +Vtot=(%pi/4*(d*d)*(2*l)*(cr/(cr-1))) +//Scavanger density +psc=(ep/(r*t)) +//Theoretical mass flow +tmf=psc*Vtot*s +//Scavanger efficiency +nsc=(ma/tmf) +//Indicated mean effective pressure (in kN/m2) +imep = (nsc*psc)*(cr/(cr-1))*(nith*far*CV) +printf("\n\nRESULTS\n\n") +printf("\nScavanger efficiency: %f\n",nsc) +printf("\nIndicated mean effective pressure %f\n",imep) \ No newline at end of file -- cgit