summaryrefslogtreecommitdiff
path: root/Modern_Physics/Chapter11.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Modern_Physics/Chapter11.ipynb')
-rwxr-xr-xModern_Physics/Chapter11.ipynb136
1 files changed, 73 insertions, 63 deletions
diff --git a/Modern_Physics/Chapter11.ipynb b/Modern_Physics/Chapter11.ipynb
index 65f716cb..8b1cca27 100755
--- a/Modern_Physics/Chapter11.ipynb
+++ b/Modern_Physics/Chapter11.ipynb
@@ -1,7 +1,6 @@
{
"metadata": {
- "name": "",
- "signature": "sha256:e6be7abf8c97801180567f4f6cb83dc9e729f9c81204b1adfe4e1f54ff45dd36"
+ "name": "Chapter11"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -13,7 +12,7 @@
"level": 1,
"metadata": {},
"source": [
- "Chapter 11: Molecular Structure"
+ "Chapter 11:Solid State Physics"
]
},
{
@@ -21,46 +20,28 @@
"level": 2,
"metadata": {},
"source": [
- "Example 11.1, page no. 380"
+ "Example 11.1, Page 346"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
+ "#initiation of variable\n",
+ "c=769.0*10**3; Na=6.023*10**23; JeV=1.6*10**-19; #various constants and given values\n",
"\n",
- "import math\n",
+ "#calculation\n",
+ "Be=c/(Na*JeV); #Binding energy of an ion pair in the lattice\n",
"\n",
- "#Variable Declaration\n",
+ "#result\n",
+ "print\"The experimental value was found out to be in eV.\",round(Be,5);\n",
"\n",
- "f = 1.15 * 10 ** 11 # Frequency(Hz)\n",
- "h = 1.055 * 10 ** -34 # Planck's constant(J.s)\n",
- " \n",
- "#Calculation\n",
+ "#partb\n",
+ "n=9.0;a=1.7476; R=0.281; k= 1.44; #Given values and consstants\n",
+ "Bc=k*a*(1-(1/n))/R; #ionic binding energy experimentally\n",
"\n",
- "w = 2 * math.pi * f\n",
- "Icm = h / w\n",
- "\n",
- "#Results\n",
- "\n",
- "print \"(a) The moment of inertia is\",round(Icm/10 **-46 , 2),\"X 10^-46 kg.m^2.\"\n",
- "\n",
- "\n",
- "\n",
- "#Variable Declaration\n",
- "\n",
- "Ac = 12.0 #atomic mass of carbon (u)\n",
- "Ao = 16.0 #atomic mass of oxygen (u)\n",
- "u = 1.66 * 10 ** -27#(kg)\n",
- "\n",
- "#Calculation\n",
- "\n",
- "mu = Ac* Ao /(Ac+Ao)\n",
- "R0 = math.sqrt(Icm/(mu*u))\n",
- "\n",
- "#Results\n",
- "\n",
- "print \"(b) The bond length of the molecule is\",round(R0/10**-9,3),\"nm.\""
+ "#result\n",
+ "print\"The calculated value of the binding energy in eV.is\",round(Bc,4);\n"
],
"language": "python",
"metadata": {},
@@ -69,8 +50,42 @@
"output_type": "stream",
"stream": "stdout",
"text": [
- "(a) The moment of inertia is 1.46 X 10^-46 kg.m^2.\n",
- "(b) The bond length of the molecule is 0.113 nm.\n"
+ "The experimental value was found out to be in eV. 7.97983\n",
+ "The calculated value of the binding energy in eV.is 7.9606\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 11.2, Page 350"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#initiation of variable\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",
+ "\n",
+ "#calculation\n",
+ "E=a+b+c #sum of all the energies\n",
+ "print\"The net energy to be supplied in eV is\",round(E,3);"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The net energy to be supplied in eV is 6.45\n"
]
}
],
@@ -81,44 +96,38 @@
"level": 2,
"metadata": {},
"source": [
- "Example 11.2, page no. 383"
+ "Example 11.3, Page 355"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
+ "#initiation of variable\n",
+ "from math import exp,sqrt\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",
+ "#calculation\n",
+ "n= p*Na/M; #density of charge carriers\n",
"\n",
- "import math\n",
- "\n",
- "#Variable Declaration\n",
- "\n",
- "f = 6.42 * 10 ** 13 #frequency(Hz)\n",
- "mu = 1.14 * 10 ** -26 #(kg)\n",
- " \n",
- "#Calculation\n",
- "\n",
- "w = 2 * math.pi * f\n",
- "K = mu * w**2\n",
- "\n",
- "#Results\n",
- "\n",
- "print \"(a) The force constant for this molecule is \",round(K/10**3,2),\"X 10^3 N/m.\"\n",
- "\n",
- "\n",
- "\n",
- "#Variable Declaration\n",
+ "#result'\n",
+ "print\"The density of charge carriers in copper in atoms/m3 is %.1e\" %round(n,3);\n",
"\n",
- "h = 1.055 * 10 ** -34 #Planck's constant (J.s)\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",
"\n",
- "#Calculation\n",
+ "#result\n",
+ "print \"The average time between collisions of conducting electrons in sec.is %.1e\" %t\n",
"\n",
- "A = (h/(mu * w)) ** 0.5\n",
+ "#partb\n",
+ "Ef=7.03*1.6*10**-19; #converting given enrgy to J\n",
"\n",
- "#Results\n",
+ "#calculation\n",
+ "Vf=sqrt(2*Ef/m); #fermi velocity\n",
+ "l=Vf*t; #mean free path\n",
"\n",
- "print \"(b) The Vibration amplitude is\",round(A/10**-9,5),\"nm.\""
+ "#result\n",
+ "print \"The average mean free path is\",l,\"m =\",round(l*10**9,3),\" nm\"\n"
],
"language": "python",
"metadata": {},
@@ -127,12 +136,13 @@
"output_type": "stream",
"stream": "stdout",
"text": [
- "(a) The force constant for this molecule is 1.85 X 10^3 N/m.\n",
- "(b) The Vibration amplitude is 0.00479 nm.\n"
+ "The density of charge carriers in copper in atoms/m3 is 8.5e+28\n",
+ "The average time between collisions of conducting electrons in sec.is 2.5e-14\n",
+ "The average mean free path is 3.8690296096e-08 m = 38.69 nm\n"
]
}
],
- "prompt_number": 6
+ "prompt_number": 1
}
],
"metadata": {}