summaryrefslogtreecommitdiff
path: root/575/CH3/EX3.3.5/3_3_5.sce
blob: 08b661920950e49046b58a578e106c788a5a966e (plain)
1
2
3
4
5
6
7
8
9
10
clc
pathname=get_absolute_file_path('3_3_5.sce')
filename=pathname+filesep()+'335.sci'
exec(filename)
mass_conc=conc*98
printf("mass concentration of sulfuric acid=%f kg/m^3",mass_conc)
mass_flowrate=rate*mass_conc/60
printf(" \n Mass flow rate of sulfuric acid=%f kg/s",mass_flowrate)
massfraction=1/(rate*D*1000/60)
printf(" \n Mass fraction of sulfuric acid=%f",massfraction)