blob: a29c0684e28df8f7bcd2733efbd2cbf39fc3f7bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Example 2.18
clc;
clear;
close;
// Given data
Cv= 0.718;// in kJ/kgK
R= 0.278;// in kJ/kgK
T1= 15+273;// in K
T2= 135+273;// in K
m= 2;// mass in kg
V1= 0.7;// in m^3
Q= m*Cv*(T2-T1);// in kJ
disp(Q,"Heat supplied to gas in kJ is : ")
// Formula P1*V1= m*R*T1
P1= m*R*T1/V1;// in kN/m^2 absolute
// From P1/T1= P2/T2
P2= P1*T2/T1;// in kN/m^2
disp(P2,"The final pressure in kN/m^2 is : ")
|