summaryrefslogtreecommitdiff
path: root/Engineering_Physics_Malik/Chapter_22.ipynb
blob: a955c2923c4138af008280b354c11e3d4385ba12 (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": [
      "Chapter 22: Nanopyhsics"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 22.1, Page 22.13"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Given \n",
      "d = 12e-6 # diameter in m\n",
      "d_ = 90e-9 # diameter of nanoparticle in m\n",
      "\n",
      "#Calculations\n",
      "r = d / 2\n",
      "r_ = d_ / 2\n",
      "k = r / 3\n",
      "k_ = r_ / 3\n",
      "R = k_ / k\n",
      "\n",
      "#Result\n",
      "print \"The ratio of the value of Nb/Ns of spherical particle and nanoparticle = %.1e\"%R"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The ratio of the value of Nb/Ns of spherical particle and nanoparticle = 7.5e-03\n"
       ]
      }
     ],
     "prompt_number": 1
    }
   ],
   "metadata": {}
  }
 ]
}