summaryrefslogtreecommitdiff
path: root/electronic_instrumentation_by_H_S_Kalsi/Chap12.ipynb
blob: b3715c64e25b284d53e73f067e34c5ee7599f28f (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:7af0495b58ca6c852d68e4365d49889cd4f3d900affcfb795083ae4f78ea1db8"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 12 Recorders"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.1 Page no 373"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "t=5                                    #second\n",
      "s=40.0                                    #cycle\n",
      "\n",
      "#Calculation\n",
      "p=t/s\n",
      "f=1/p\n",
      "\n",
      "#Result\n",
      "print\"The frequency of the signal is \", f,\"cycle/sec.\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The frequency of the signal is  8.0 cycle/sec.\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 12.2 Page no 373"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "f=20.0                                       #Hz\n",
      "t=5                                         #mm\n",
      "\n",
      "#Calculation\n",
      "p=1/f\n",
      "s=t/p\n",
      "\n",
      "#Result\n",
      "print\"The chart speed isn\", s,\"mm/s\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The chart speed isn 100.0 mm/s\n"
       ]
      }
     ],
     "prompt_number": 10
    }
   ],
   "metadata": {}
  }
 ]
}