summaryrefslogtreecommitdiff
path: root/1967/CH2/EX2.3/2_3.sce
blob: 7399c303c1da1aa90ce2c59a0c2bc12b6ac0795c (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//initialisation of variables
clear
p= 400 //atm
T= 273 //K
R= 0.0820 //lit-atm deg^-1 mol^-1
k= 1.27
//CALCULATIONS
V= k*R*T/p
//RESULTS
printf ('Volume of the ideal gas = %.4f lit mol^-1',V)