summaryrefslogtreecommitdiff
path: root/575/CH4/EX4.2.2/4_2_2.sce
blob: 0596ef926ad9ae9a5944b344e57b3199c02fa319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
pathname=get_absolute_file_path('4_2_2.sce')
filename=pathname+filesep()+'422.sci'
exec(filename)
printf("All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
disp("Using benzene balance,")
m2dot=inputBenzene-UpStreamBenzene
printf(" m2dot=%d kg/h",m2dot)
disp("Using Toluene balance")
m1dot=inputToluene-DownStreamToluene
printf(" m1dot= %d kg/h",m1dot)
disp("To check we can perform Overall mass balance")