summaryrefslogtreecommitdiff
path: root/3755/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH4/EX4.1/Ex4_1.sce')
-rw-r--r--3755/CH4/EX4.1/Ex4_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3755/CH4/EX4.1/Ex4_1.sce b/3755/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..23490abd9
--- /dev/null
+++ b/3755/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,18 @@
+clear
+//
+//
+//
+
+//Variable declaration
+T1=773; //temperature(K)
+T2=1273; //temperature(K)
+n=1*10^-10; //fraction of vacancy sites
+
+//Calculations
+X=(T1*log(n)/T2);
+
+x=exp(X); //fraction of vacancy sites at 1000 C
+
+//Result
+printf("\n fraction of vacancy sites at 1000 C is %0.4f *10^-7",x*10^7)
+printf("\n answer varies due to rounding off errors")