blob: 444499c4a888a84de9645cdb3f2a8b463610b247 (
plain)
1
2
3
4
5
6
7
8
|
clc
pathname=get_absolute_file_path('3_3_4.sce')
filename=pathname+filesep()+'334.sci'
exec(filename)
Mbar=yN2*MN2+(1-yN2)*MO2
printf(" \n average molecular weight of air from molar composition=%f",Mbar)
InvMbar=xN2/28 + (1-xN2)/32
printf(" \n average molecular weight of air from mass composition=%f",1/InvMbar)
|