summaryrefslogtreecommitdiff
path: root/3876/CH2/EX2.1/Ex2_1.sce
blob: 8f04df680bca62a1ae078ba132470108a7b805f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Chapter 2 Gases

clc;
clear;

//Initialisation of Variables
P= 730 //mm
V= 20 //litres
T= -20 //C
P1= 760 //mm
T1= 0 //C

//CALCULATIONS
V1= P*V*(273+T1)/((273+T)*760)

//RESULTS
mprintf("Volume at STP =%.1f litres",V1)