summaryrefslogtreecommitdiff
path: root/Modern_physics_for_engineers_by_S.P.Taneja/chapter12.ipynb
blob: eba189f101497fe6b7e1f6928867df6730eac039 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
 "metadata": {
  "name": "",
  "signature": "sha256:fa25aede5e2048b3aef3db7a512e42eedd41c6618ebcfbecf8cd5a65f6b8e6f4"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 12 Ultrasonics"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.1 Page no 388"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "y=115*10**9                                  #N/m**2\n",
      "t=40.0*10**-3\n",
      "a=7.25*10**3                                 #kg/m**3\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "n=(math.sqrt(y/a))/(2*t)\n",
      "\n",
      "#Resut\n",
      "print\"Fundamental frequency is\",round(n*10**-3,1),\"KHz\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Fundamental frequency is 49.8 KHz\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.2 Page no 388"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "y=8*10**10                          #N/m**2\n",
      "a=5000.0                               #Kg/m**3\n",
      "V=400.0\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "v=math.sqrt(y/a)\n",
      "w=v/V\n",
      "\n",
      "#Result\n",
      "print\"(a) Velocity is\", v,\"m/sec\"\n",
      "print\"(b) Wavelength is\",w,\"mt\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(a) Velocity is 4000.0 m/sec\n",
        "(b) Wavelength is 10.0 mt\n"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.3 Page no 389"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "v=1700                               #m/s\n",
      "t=0.65                                #sec\n",
      "n=0.7*10**5\n",
      "\n",
      "#Calculation\n",
      "d=v*t/2.0\n",
      "w=v/n\n",
      "\n",
      "#Result\n",
      "print\"Depth of sea is\", d,\"m\"\n",
      "print\"Wavelength of pulse is\",round(w,4),\"m\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Depth of sea is 552.5 m\n",
        "Wavelength of pulse is 0.0243 m\n"
       ]
      }
     ],
     "prompt_number": 19
    }
   ],
   "metadata": {}
  }
 ]
}