blob: f05dc925a789f177bf73a62b13f96006767710c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialisation of variables
n= 1.5 //kmol
V= 0.5 //m^3
M= 18.02 //kg
//CALCULATIONS
m= n*M
v= V/m
//RESULTS
printf ('mass = %.2f kg',m)
printf ('\n sepcific volume = %.4f m^3/kg',v)
|