summaryrefslogtreecommitdiff
path: root/539/CH12/EX12.4/Example_12_4.sce
blob: 874891e57660ae4b25f33a4f2dd04017db9ea6d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//Computation of the No. of Schottky Defects in KCl

clear;
clc;

printf("\tExample 12.4\n");

Na=6.023*10^23;  //Avogadro number
density=1.955;  //in g/cm^3

A_K=39.1;  //in g/mol
A_Cl=35.45;  //in g/mol

N=Na*density*10^6/(A_K+A_Cl);

printf("\nNo. of lattice points are : %0.2f * 10 ^ 28 /m^3\n",N/10^28);

Qs=2.6;  // in eV
k=8.62*10^-5;  // in eV/K  Boltzmann Constant
T=500+273;  // in K

Ns=N*%e^(-Qs/(2*k*T));

printf("\nSchottky Defects are : %0.2f * 10 ^ 19 /m^3\n",Ns/10^19);

//End