summaryrefslogtreecommitdiff
path: root/Basic_Electronics_and_Linear_Circuits/ch13.ipynb
blob: 47cf64109acacb059023bf58299ec75f1e79e897 (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:599e62479fb81312d9e71ded8b631cb3f6c046aff5ae2a1f3f8129c2f46ca250"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 13:Oscillators"
     ]
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 13.1 Page no.421"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "L=58.6*10**(-6)                         # H, inductance\n",
      "C=300*10**(-12)                        # F, capacitance\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "fo=1/(2*math.pi*math.sqrt(L*C))\n",
      "\n",
      "#Result\n",
      "print \" The Frequency of Oscillation of Tuned Collector Oscillator is fo =  \",round(fo/10**3,2),\"KHz\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": []
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 13.2 Page no.427"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "R=100000.0                                   # Ohms, resistance\n",
      "C=0.01*10**(-6)                           #F, capacitance\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "fo=1/(2*math.pi*R*C*math.sqrt(6))\n",
      "#Result\n",
      "print \"The Frequency of Oscillation of Vacuum Tube Phase Shift Oscillator is fo =  \",round(fo,2),\"Hz\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": []
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 13.3 Page no.427"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "R1=220000.0                                  # Ohms, Resistance 1\n",
      "R2=220000.0                                  # Ohms Resistance  2\n",
      "C1=250*10**(-12)                        #F, capacitance 1 \n",
      "C2=250*10**(-12)                        #F, capacitance 2\n",
      "\n",
      "#Calculation\n",
      "import math\n",
      "fo=1/(2*math.pi*math.sqrt(R1*C1*R2*C2))\n",
      "# Result\n",
      "print \"The Frequency of Oscillation of Wein Bridge Oscillator is fo =  \",round(fo/10**3,2),\"KHz\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}