summaryrefslogtreecommitdiff
path: root/3669/CH3/EX3.3/3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH3/EX3.3/3.sce')
-rw-r--r--3669/CH3/EX3.3/3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3669/CH3/EX3.3/3.sce b/3669/CH3/EX3.3/3.sce
new file mode 100644
index 000000000..19c933ab4
--- /dev/null
+++ b/3669/CH3/EX3.3/3.sce
@@ -0,0 +1,13 @@
+//Variable declaration
+T1=500+273; //temperature(K)
+T2=1000+273; //temperature(K)
+f=1*10**-10; //fraction
+
+//Calculation
+x=(T1/T2);
+y=(log(f));
+w=(x*y);
+F=exp(w); //fraction of vacancy sites
+
+//Result
+printf('fraction of vacancy sites is %0.3f *10**-7 \n',(F*10**7)) \ No newline at end of file