summaryrefslogtreecommitdiff
path: root/Modern_physics_for_engineers_by_S.P.Taneja/chapter23.ipynb
blob: c063d2417426f02217dbffd97e7baa3be68ab913 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:ddc25f5d953d46de15d09c9a8d7da27eb7ecafe874a3fe46bf2bbd376bf4cf37"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 23 Magnetic properties of solids"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 23.1 Page no 268"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "u=9.3*10**-24                   #Joule/tesla\n",
      "ub=5.6*10**-5                  #ev\n",
      "Kb=0.025                          #ev\n",
      "\n",
      "#Calculation\n",
      "A=ub/Kb\n",
      "print\"Magnetic interaction is\", A*10**3,\"*10**-3\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Magnetic interaction is 2.24 *10**-3\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 23.2 Page no 269"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "N=2.8*10**-13\n",
      "a=27*10**23\n",
      "b=0.53*10**-8\n",
      "\n",
      "#Calculation\n",
      "x=-(a*N*b)/3.0\n",
      "\n",
      "#Result\n",
      "print\"Diamagnetic susceptibility is\", round(x*10**-4,2),\"*10**-5\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Diamagnetic susceptibility is -0.13 *10**-5\n"
       ]
      }
     ],
     "prompt_number": 17
    }
   ],
   "metadata": {}
  }
 ]
}