summaryrefslogtreecommitdiff
path: root/sample_notebooks/KavinkumarD/Chapter_8_FREQUENCY_EFFECTS_IN_AMPLIFIERS.ipynb
blob: 60448e3c1354c356618261159876f4f0b88a202a (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:8ef023228932ba7c44f0f72b79793f31a32f8ea67eae875510cf71ee015fc22c"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 8 FREQUENCY EFFECTS IN AMPLIFIERS"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 8.6 , Page no:242"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#initialisation of variables\n",
      "hie=1000 #\u2126\n",
      "hfe=75 #\u2126\n",
      "Av=50\n",
      "Rl=10000 #k\u2126\n",
      "hie2=300 #\u2126\n",
      "hfe2=100 #\u2126\n",
      "Re=1000 #k\u2126\n",
      "\n",
      "#CALCULATIONS\n",
      "Req=Av*(hie/hfe)     #\u2126\n",
      "Rc=Req*Rl/(Rl-Req)  #k\u2126\n",
      "wL=2*3.14*200\n",
      "Ce=(hie2+(hfe2+1)*Re)/(wL*Re*hie2)*10**6\n",
      "Av1=(hfe*Req)/(hie+(hfe+1)*Re)\n",
      "\n",
      "#RESULTS\n",
      "print\"The value of Req=\",round(Req,3),\"Ohm\";\n",
      "print\"The value of Rc=\",round(Rc,3),\"Ohm\";\n",
      "print\"The value of Ce=\",round(Ce,3),\"mF\";\n",
      "print\"The value of Av=\",round(Av1,3);"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The value of Req= 666.667 Ohm\n",
        "The value of Rc= 714.286 Ohm\n",
        "The value of Ce= 268.843 mF\n",
        "The value of Av= 0.649\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 8.8 , Page no:244"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#initialisation of variables\n",
      "hie2=1500    #\u2126\n",
      "Rb2=5000    #k\u2126\n",
      "Z01=10\n",
      "Av=7881.3\n",
      "\n",
      "#CALCULATIONS\n",
      "C2=1*10**-6   \n",
      "Zin2=(hie2*Rb2/(hie2+Rb2))\n",
      "fl=1/(2*3.14*C2*(Zin2+Z01*10**3))\n",
      "\n",
      "#RESULTS\n",
      "print\"The value of Zin2=\",round(Zin2,3),\"Ohm\";\n",
      "print\"The value of fl=\",round(fl,3),\"Hz\";"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The value of Zin2= 1153.846 Ohm\n",
        "The value of fl= 14.276 Hz\n"
       ]
      }
     ],
     "prompt_number": 2
    }
   ],
   "metadata": {}
  }
 ]
}