diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH13/EX13.23/example13_23.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1271/CH13/EX13.23/example13_23.sce')
-rwxr-xr-x | 1271/CH13/EX13.23/example13_23.sce | 12 |
1 files changed, 12 insertions, 0 deletions
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) + |