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/CH5/EX5.2/Chapter5_example2.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2168/CH5/EX5.2/Chapter5_example2.sce (limited to '2168/CH5/EX5.2') diff --git a/2168/CH5/EX5.2/Chapter5_example2.sce b/2168/CH5/EX5.2/Chapter5_example2.sce new file mode 100755 index 000000000..f6e839545 --- /dev/null +++ b/2168/CH5/EX5.2/Chapter5_example2.sce @@ -0,0 +1,16 @@ +clc +clear +//Input data +r=8//Compression ratio +n=1.41//Adiabatic index of the medium +cv=0.17//Mean Specific heat at constant volume in kcal/kg/degree C +x=2//Percentage with which spcific heat at constant volume increases +R=29.3//Characteristic gas constant in mkg/kg/degree C +J=427//Mechanical equivalent of heat in kg.m/kcal + +//Calculations +e=(1-(1/r^(n-1)))//Air standard efficiency neglecting the variation in specific heat +debye=((x/100)*((1-e)/e)*(R/(J*cv))*log(r))*100//Ratio of de and e in percent + +//Output +printf('The change in air standard efficiency of the cycle is %3.3f percent',debye) -- cgit