summaryrefslogtreecommitdiff
path: root/Concepts_Of_Modern_Physics/Chapter_6.ipynb
blob: 3e924e61f434254b9c9f4e80fc6fe8cae214d2a7 (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
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chaptet 6:Quantum theory of the Hydrogen Atom"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 6.4,Page no:226"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Variable declaration\n",
      "B= 0.300  #magnetic field, T\n",
      "Lambda= 450  #wavelength, nm\n",
      "Lambda= Lambda*(10**(-9))  #converting to m\n",
      "e= 1.6*(10**(-19))  #charge of an electron, C\n",
      "Me= 9.1*(10**(-31))  #mass of electron, kg\n",
      "c= 3 *(10**8)  #speed of light, m/s\n",
      "import math\n",
      "#Calculation\n",
      "dLambda= e*B*(Lambda**2)/(4*(math.pi)*Me*c)  #m\n",
      "dLambda= dLambda*(10**9)  #converting to nm\n",
      "\n",
      "#Result\n",
      "print\"The separation between Zeeman components is: \",round(dLambda,5),\"nm\"\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The separation between Zeeman components is:  0.00283 nm\n"
       ]
      }
     ],
     "prompt_number": 2
    }
   ],
   "metadata": {}
  }
 ]
}