summaryrefslogtreecommitdiff
path: root/Basic_Electronics_and_Linear_Circuits/ch13_1.ipynb
blob: 5bbf5b4b53a848fe2ff594665ff0267e6e6bae06 (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
{
 "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": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        " The Frequency of Oscillation of Tuned Collector Oscillator is fo =   1200.36 KHz\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "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": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The Frequency of Oscillation of Vacuum Tube Phase Shift Oscillator is fo =   64.97 Hz\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "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": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The Frequency of Oscillation of Wein Bridge Oscillator is fo =   2.89 KHz\n"
       ]
      }
     ],
     "prompt_number": 3
    }
   ],
   "metadata": {}
  }
 ]
}