From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1271/CH13/EX13.23/example13_23.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1271/CH13/EX13.23/example13_23.sce (limited to '1271/CH13/EX13.23/example13_23.sce') diff --git a/1271/CH13/EX13.23/example13_23.sce b/1271/CH13/EX13.23/example13_23.sce new file mode 100755 index 000000000..74811d06d --- /dev/null +++ b/1271/CH13/EX13.23/example13_23.sce @@ -0,0 +1,12 @@ +clc +// Given that +E = 2.02 // average energy required to produce a Schottky defect at room temperature in eV +k = 1.38e-23 // Boltzmann constant in J/k +T = 300 // room temperature in K +// Sample Problem 23 on page no. 13.33 +printf("\n # PROBLEM 23 # \n") +printf(" Standard formula used \n") +printf(" r = exp(-(E * 1.6e-19) / (2 * k * T))\n") +r = exp(-(E * 1.6e-19) / (2 * k * T)) +printf("\n Ratio of number of Schottky defects to total number of cation-anion pairs is %e .",r) + -- cgit