summaryrefslogtreecommitdiff
path: root/858/CH1/EX1.8/example_8.sce
blob: 36833818f46e44a010f76a71af46574f28b5b6ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
clear 
printf('example 1.8 page number 29\n\n')
//to find the amount of steam released

vp_C6H6 = 520    //in torr
vp_H2O = 225     //in torr
mass_water=18
mass_benzene=78

amount_of_steam = (vp_H2O/vp_C6H6)/(mass_benzene/mass_water);

printf("amount of steam = %f", amount_of_steam)