summaryrefslogtreecommitdiff
path: root/2006/CH3/EX3.5/ex3_5.sce
blob: 199a4afb1070f396e99cef0f2cfe4f05641494c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc;
p2=2.5; // Pressure of air in the cylinder in bar
T1=430; // Temperature of air in cylinder in Degree Celcius
V1=1.2; // Volume of cylinder in m^3
V2=0.6; // Volume of cylinder upto end stops in m^3
// (a) Temperature of air when the piston reaches the stops
T2=(T1+273)*(V2/V1); // constant pressure process
disp ("K",T2,"Temperature of air when the piston reaches the stops");
// (b) The pressure of air when its temperature equals to 25 oC
T3=25; //Room temperature in Degree Celcius
p3=p2*((T3+273)/T2); // constant volume process
disp ("bar",p3,"The pressure of air when its temperature equals to 25 oC");