summaryrefslogtreecommitdiff
path: root/Principles_of_Physics_by_P_V_Naik/17-Quantum_Theory.ipynb
blob: 0320f453baaa9692eb37d3d53e47737ca93226c4 (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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 17: Quantum Theory"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.1: Maximum_kinetic_energy.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc\n",
"clear\n",
"//Input data\n",
"w=4000//Wavelength of the light in Angstrom units\n",
"wf=2.25//Work function of potassium in eV\n",
"m=(9.1*10^-31)//Mass of the electron in kg\n",
"v=(3*10^8)//Velocity of light in m/s\n",
"c=(1.6*10^-19)//Charge of the electron in coloumbs\n",
"h=6.626*10^-34//Plancks constant in Js\n",
"\n",
"//Calculations\n",
"E=(h*v)/(w*10^-10*c)//Energy of incident photon in eV\n",
"KE=(E-wf)//Kinetic energy in eV\n",
"\n",
"//Output\n",
"printf('Maximum kinetic energy of photoelectron is %3.3f eV',KE)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.2: Stopping_potential.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc\n",
"clear\n",
"//Input data\n",
"wf=1.9//Workfunction of the material in eV\n",
"w=3000//Wavelength of the light in Angstrom units\n",
"v=(3*10^8)//Velocity of light in m/s\n",
"c=(1.6*10^-19)//Charge of the electron in coloumbs\n",
"h=6.626*10^-34//Plancks constant in Js\n",
"\n",
"//Calculations\n",
"V=(1/c)*(((h*v)/(w*10^-10))-(wf*c))//Stopping potential in V\n",
"\n",
"//Output\n",
"printf('Stopping potential is %3.2f V',V)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.3: Shortest_wavelength.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc\n",
"clear\n",
"//Input data\n",
"V=(70*10^3)//Accelerating potential in V\n",
"v=(3*10^8)//Velocity of light in m/s\n",
"c=(1.6*10^-19)//Charge of the electron in coloumbs\n",
"h=6.626*10^-34//Plancks constant in Js\n",
"\n",
"//Calculations\n",
"lmin=((h*v)/(c*V))/10^-9//Shortest wavelength of X-rays produced in mm\n",
"\n",
"//Output\n",
"printf('Shortest wavelength of X-rays produced is %3.4f mm',lmin)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.4: Wavelength.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc\n",
"clear\n",
"//Input data\n",
"w1=2//Wavelength in Angstrom \n",
"Z1=24//Target one\n",
"Z2=42//Target two\n",
"a=1//Constant value\n",
"\n",
"//Calculations\n",
"w2=w1*((Z1-a)/(Z2-a))^2//Wavelength in Angstrom\n",
"\n",
"//Output\n",
"printf('Wavelength is %3.2f Angstrom',w2)"
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 17.5: Wavelength.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc\n",
"clear\n",
"//Input data\n",
"w=3//Wavelength of the light in Angstrom\n",
"v=(3*10^8)//Velocity of light in m/s\n",
"h=6.626*10^-34//Plancks constant in Js\n",
"q=40//Scattering angle in degrees\n",
"m=(9.11*10^-31)//Mass of electron in kg\n",
"c=(1.6*10^-19)//Charge of the electron in coloumbs\n",
"\n",
"//Calculations\n",
"dl=(h/(m*v))*(1-cosd(q))/10^-10//Wavelength in Angstrom\n",
"l=(w+dl)//Wavelength of scattered X-rays\n",
"\n",
"//Output\n",
"printf('Wavelength of scattered X-rays is %3.6f Angstrom',l)"
   ]
   }
],
"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
}