summaryrefslogtreecommitdiff
path: root/electronic_instrumentation_by_H_S_Kalsi/Chap7.ipynb
blob: 55d579f9a768eda96a939dcedb69e90728a38c26 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:c42ad53e71f05c7daed7df58d8caaed6d1cdccf89baa99b8fd442bc5fe5611d6"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Cahpter 7 oscilloscope"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 7.1 Page no 222"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "V=0.5                               #Volts\n",
      "n=3\n",
      "\n",
      "#Calculation\n",
      "V1=V*n\n",
      "\n",
      "#Result\n",
      "print\"Peak to peak amplitude of the signal is \", V1,\"Vp-p\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Peak to peak amplitude of the signal is  1.5 Vp-p\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 7.2 Page no 223"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "#Given\n",
      "t=2*10**-6                           #s\n",
      "n=4\n",
      "\n",
      "#Calculation\n",
      "T=t*n\n",
      "f=(1/T)*10**-3\n",
      "\n",
      "#Result\n",
      "print\"Frequency of the signal is \", f,\"KHz\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Frequency of the signal is  125.0 KHz\n"
       ]
      }
     ],
     "prompt_number": 8
    }
   ],
   "metadata": {}
  }
 ]
}