summaryrefslogtreecommitdiff
path: root/2144/CH2/EX2.6/exa_2_6.sce
blob: 2603a39dd643113ae86e28e64aa6296b9de969b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Example 2.6
clc;
clear;
close;
// Given data
P1= 7*10^5;// in N/m^2
V1= 3;// in m^3
V2= 9;// in m^3
T1= 150+273;// in K
T2= 10+273;// in K
// Formula P1*V1/T1 = P2*V2/T2
P2= P1*V1*T2/(T1*V2);// in N/m^2
disp(P2*10^-5,"Pressure of the gas in bar is : ")