blob: 6d44da77521f14296ab11b573ec9b668b5c72892 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
clear
//INPUT DATA
Tl=20;//engine temprature in Degree C
Th=500;//engine temprature in Degree C
g=1.4;//gas constant
v13=25;//expansion ratio
//CALCULATIONS
v14=((Th+273)/(Tl+273))^(1/(g-1));//Isentropic volume expansion
v43=v13/v14;//Overall expansion ratio
//OUTPUT
printf('(a)Isentropic volume expansion ratio (4-1)is %3.2f \n (b)Isentropic volume expansion ratio(4-3) is %3.2f',v14,v43)
|