summaryrefslogtreecommitdiff
path: root/Engineering_Physics/chapter11.ipynb
blob: ffad9cdda6a179f920d845e2c75607164321658d (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
{

 "metadata": {

  "name": "",

  "signature": "sha256:63e794f26755ea447faa48915f48af2a1824429b5991c82dc73f1b261af07c7e"

 },

 "nbformat": 3,

 "nbformat_minor": 0,

 "worksheets": [

  {

   "cells": [

    {

     "cell_type": "heading",

     "level": 1,

     "metadata": {},

     "source": [

      "Chapter11:ULTRASONICS"

     ]

    },

    {

     "cell_type": "heading",

     "level": 2,

     "metadata": {},

     "source": [

      "Ex11.1:pg-303"

     ]

    },

    {

     "cell_type": "code",

     "collapsed": false,

     "input": [

      "import math\n",

      "#to calculate fundemental frequency\n",

      "Y=7.9*10**10 #Young modulus for quartz in Nm**-2\n",

      "rho=2.65*10**3 #density of quartz in kg/m**3\n",

      "#the velocity of longitudinal wave is given by\n",

      "v=math.sqrt(Y/rho)  #in m/s\n",

      "#for fundamental mode of vibration ,thickness is given by lamda/2\n",

      "lamda=2*0.001 #wavelength in m\n",

      "nu=v/lamda\n",

      "print \"the fundamental frequency is nu=\",round(nu,2),\"Hz\"\n",

      "#answer is given wrong in the book ,nu=2730 Hz\n"

     ],

     "language": "python",

     "metadata": {},

     "outputs": [

      {

       "output_type": "stream",

       "stream": "stdout",

       "text": [

        "the fundamental frequency is nu= 2729987.21 Hz\n"

       ]

      }

     ],

     "prompt_number": 2

    }

   ],

   "metadata": {}

  }

 ]

}