summaryrefslogtreecommitdiff
path: root/Modern_Physics_by_K_S_Krane/11-Properties_of_Ionic_Crystals.ipynb
blob: baccdc1ba3f6ff52f16804d387fc9c9f9c85c766 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 11: Properties of Ionic Crystals"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.1: Solution_for_a_and_b.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clear\n",
"clc\n",
"disp('Exa-11.1(a)');\n",
"c=769*10^3; Na=6.023*10^23; JeV=1.6*10^-19; //various constants and given values\n",
"Be=c/(Na*JeV);        //Binding energy of an ion pair in the lattice\n",
"printf('The experimental value was found out to be %.4f eV.\n',Be);\n",
"disp('Exa-11.1(b)');\n",
"n=9;a=1.7476; R=0.281; k= 1.44;     //Given values and consstants\n",
"Bc=k*a*(1-(1/n))/R;                  //ionic binding energy eperimentally\n",
"printf('The calculated value of the binding energy is %.4f eV.',Bc);"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.2: Energy_per_neytral_atom_to_take_apart_a_crystal_of_Nacl.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clear\n",
"clc\n",
"disp('Exa-11.2');\n",
"a=3.61;// amount of energy required to remove an electron from Cl- ion\n",
"b=-5.14 //amount of energy returned when an electron is added to Na+ ion\\n",
"c=7.98 //binding energy of NaCl atom\n",
"E=a+b+c  //suom of all the energies\n",
"printf('The net energy to be supplied is %.3f eV',E);"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 11.3: Solution_for_a_and_b.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clear\n",
"clc\n",
"disp('Ex-11.3(a)');\n",
"Na=6.023*10^23; p=8.96*10^3; M=63.5*10^-3;   //Na=avagadro's number,p=density,M=molar mass\n",
"n= p*Na/M;                                   //density of charge carriers\n",
"printf('The density of charge carriers in copper is %e atoms/m3\n',n);\n",
"s=5.88*10^7;m=9.11*10^-31;e=1.6*10^-19;    //charge & mass of an electron,resistance per unit length\n",
"t= s*m/(n*e^2);                            //average time between collisions\n",
"printf('The average time between collisions of conducting electrons is %e sec.\n',t);\n",
"disp('Ex-11.3(b)');\n",
"Ef=7.03*1.6*10^-19;           //converting given enrgy to J\n",
"Vf=sqrt(2*Ef/m);               //fermi velocity\n",
"l=Vf*t;                      //mean free path\n",
"printf('The average mean free path is %e m = %.1f nm',l,l*10^9);"
   ]
   }
],
"metadata": {
		  "kernelspec": {
		   "display_name": "Scilab",
		   "language": "scilab",
		   "name": "scilab"
		  },
		  "language_info": {
		   "file_extension": ".sce",
		   "help_links": [
			{
			 "text": "MetaKernel Magics",
			 "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
			}
		   ],
		   "mimetype": "text/x-octave",
		   "name": "scilab",
		   "version": "0.7.1"
		  }
		 },
		 "nbformat": 4,
		 "nbformat_minor": 0
}