summaryrefslogtreecommitdiff
path: root/3821/CH14/EX14.6/Example14_6.sce
blob: f2ee380cd661b76731ef532d42bc28d78dccff2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
////Chapter No 14 Air Standard Cycles
////Example No 14.6 Page No 308
///Find standard efficiency
//Input data
clc;
clear;
T1=27+273;                      //Initial temp in degree celsius                        
T2=450+273;                     //Final temp in degree celsius      
gamma1=1.4;

//Calculation
r=(T2/T1)^(1/(gamma1-1));       //Isentropic process 
eta=100*(1-(1/(r^(gamma1-1)))); //Otto cycle air standard effeciency in %

//Output
printf('compression ratio= %f \n ',r);
printf('standard efficiency= %f percent \n',eta);