summaryrefslogtreecommitdiff
path: root/Modern_Physics_By_G.Aruldas/Chapter11.ipynb
diff options
context:
space:
mode:
authorhardythe12015-04-07 15:58:05 +0530
committerhardythe12015-04-07 15:58:05 +0530
commit92cca121f959c6616e3da431c1e2d23c4fa5e886 (patch)
tree205e68d0ce598ac5caca7de839a2934d746cce86 /Modern_Physics_By_G.Aruldas/Chapter11.ipynb
parentb14c13fcc6bb6d01c468805d612acb353ec168ac (diff)
downloadPython-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.tar.gz
Python-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.tar.bz2
Python-Textbook-Companions-92cca121f959c6616e3da431c1e2d23c4fa5e886.zip
added books
Diffstat (limited to 'Modern_Physics_By_G.Aruldas/Chapter11.ipynb')
-rwxr-xr-xModern_Physics_By_G.Aruldas/Chapter11.ipynb114
1 files changed, 114 insertions, 0 deletions
diff --git a/Modern_Physics_By_G.Aruldas/Chapter11.ipynb b/Modern_Physics_By_G.Aruldas/Chapter11.ipynb
new file mode 100755
index 00000000..ffdec850
--- /dev/null
+++ b/Modern_Physics_By_G.Aruldas/Chapter11.ipynb
@@ -0,0 +1,114 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:df9996e09d849b24524dd415b626cbe4279b4acdbe25d68bb407e2d42467c7a7"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "11: Lattice dynamics"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example number 11.1, Page number 238"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "h=6.626*10**-34; #planck's constant(Js)\n",
+ "k=1.38*10**-23; #boltzmann constant(J/K)\n",
+ "thetaD=350; #temperature for Cu(K)\n",
+ "theetaD=550; #temperature for Si(K)\n",
+ "\n",
+ "#Calculation\n",
+ "newDCu=k*thetaD/h; #highest possible frequency for Cu(per sec)\n",
+ "newDSi=k*theetaD/h; #highest possible frequency for Si(per sec)\n",
+ "\n",
+ "#Result\n",
+ "print \"highest possible frequency for Cu is\",round(newDCu/10**11,3),\"*10**11 per sec\"\n",
+ "print \"highest possible frequency for Si is\",round(newDSi/10**11,2),\"*10**11 per sec\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "highest possible frequency for Cu is 72.895 *10**11 per sec\n",
+ "highest possible frequency for Si is 114.55 *10**11 per sec\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example number 11.2, Page number 238"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "h=6.626*10**-34; #planck's constant(Js)\n",
+ "k=1.38*10**-23; #boltzmann constant(J/K)\n",
+ "N=6.02*10**26; #avagadro number(k/mole)\n",
+ "T=10; #temperature(K)\n",
+ "thetaD=105; #debye temperature(K)\n",
+ "\n",
+ "#Calculation\n",
+ "C=(12/5)*(math.pi**4)*N*k*(T/thetaD)**3; #specific heat of lead(J/K kmol)\n",
+ "newD=k*thetaD/h; #highest frequency(per sec)\n",
+ "\n",
+ "#Result\n",
+ "print \"specific heat of lead is\",round(C,1),\"J/K kmol\"\n",
+ "print \"answer varies due to rounding off errors\"\n",
+ "print \"highest frequency is\",round(newD/10**11,2),\"*10**11 per sec\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "specific heat of lead is 1677.7 J/K kmol\n",
+ "answer varies due to rounding off errors\n",
+ "highest frequency is 21.87 *10**11 per sec\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file