summaryrefslogtreecommitdiff
path: root/680/CH8/EX8.01/8_01.sce
blob: 4aaf7c348fe7db342a143c762e395ba78cf9cc4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Problem 8.01:

//initializing the variables:
T = 0; // in deg C
A = 15.03;
B = 2817;

//calculation:
T = T + 273
P = %e^(A - B/T)

printf("\n\nResult\n\n")
printf("\n the vapor pressure is %.2f mm of Hg",P)