summaryrefslogtreecommitdiff
path: root/3651/CH3/EX3.2/2.sce
blob: 80b44eaf38a7dc502bbad1b235d573d9f64a9b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

//Variable declaration
F_500=1*10**-10

T1=500+273
T2=1000+273


//Calculations
lnx=log(F_500)*T1/T2;
x=exp(lnx)

printf('Fraction of vacancies at 1000 degrees C =%0.3f *10**-7\n',(x*10**7))