summaryrefslogtreecommitdiff
path: root/2708/CH14/EX14.12
diff options
context:
space:
mode:
Diffstat (limited to '2708/CH14/EX14.12')
-rwxr-xr-x2708/CH14/EX14.12/ex_14_12.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2708/CH14/EX14.12/ex_14_12.sce b/2708/CH14/EX14.12/ex_14_12.sce
new file mode 100755
index 000000000..c21d63b3a
--- /dev/null
+++ b/2708/CH14/EX14.12/ex_14_12.sce
@@ -0,0 +1,11 @@
+//Example 14.12 // fraction of vacancy sites
+clc;
+clear;
+//given data :
+f=1D-10;// fraction of vacancy sites
+T1=500;// temperature in degree
+T2=2*T1;// condition given
+T1=T1+273;// to convert in kelvin
+T2=T2+273;// to convert in kelvin
+f1=exp(T1*log(f)/T2);//new fraction
+disp(f1,"new fraction at new temperature")