summaryrefslogtreecommitdiff
path: root/3665/CH4/EX4.1/Ex4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3665/CH4/EX4.1/Ex4_1.sce')
-rw-r--r--3665/CH4/EX4.1/Ex4_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3665/CH4/EX4.1/Ex4_1.sce b/3665/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..d418666ff
--- /dev/null
+++ b/3665/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,15 @@
+clc//
+//
+//
+
+//Variable declaration
+Ev=1;
+k=1.38*10^-23; //boltzmann constant(J/K)
+e=1.6*10^-19; //charge(eV)
+
+//Calculation
+r=Ev/(2.303*1000*k/e);
+n=10^r; //ratio of n1000/n500
+
+//Result
+printf("\n ratio of vacancies is %0.3f *10^5",n/10^5)