summaryrefslogtreecommitdiff
path: root/Solid_State_Electronics/Solid_State_electronics_Ch10.ipynb
blob: 678a41cce6791dd0c21779b09fe045b6de748aee (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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 10 : The Unijunction Transistor"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.1, Page No.249"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "# stand off and peak point voltage\n",
      "\n",
      "import math\n",
      "#Variable declaration\n",
      "Vbb=20                 # in V\n",
      "eta=0.6                # instrinsic stand off ratio \n",
      "Vb=0.7                 # in V\n",
      "\n",
      "#Calculations\n",
      "sov=eta*Vbb            # Stand off voltage\n",
      "Vp=(eta*Vbb)+Vb;\n",
      "\n",
      "print(\"(i). Stand off voltage,(V) = %.f \"%sov)\n",
      "print(\"(ii). Peak point voltage,Vp(V) = %.1f\"%Vp)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "(i). Stand off voltage,(V) = 12 \n",
        "(ii). Peak point voltage,Vp(V) = 12.7\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.2, Page No. 249"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "# time period\n",
      "\n",
      "import math\n",
      "#Variable declaration\n",
      "Vbb=20.0               # in V\n",
      "C=100.0                # in micro-farad\n",
      "R=100.0                # in kilo-ohms\n",
      "Vp=10.0                # in V\n",
      "\n",
      "#Calculations\n",
      "eta=Vp/Vbb                                           # instrinsic stand off ratio \n",
      "T= ((C*10**-12*R*10**3 *math.log(1/(1-eta))))*10**7  #in micro-seconds\n",
      "\n",
      "#Result\n",
      "print(\"time period of the saw  tooth waveform generated is ,(micro-seconds)= %.2f\"%T)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "time period of the saw  tooth waveform generated is ,(micro-seconds)= 69.31\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 10.3, Page No. 249"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "# resistance\n",
      "\n",
      "import math\n",
      "#variable declaration\n",
      "eta=0.6              # instrinsic stand off ratio \n",
      "Rbb=10               # interbase resistance in k-ohm\n",
      "\n",
      "#Calculations\n",
      "Rb1=eta*Rbb\n",
      "Rb2=Rbb-Rb1\n",
      "\n",
      "#Result\n",
      "print(\"Resistance,Rb1(k-ohm) = %.f\"%Rb1)\n",
      "print(\"Resistance,Rb1(k-ohm) = %.f\"%Rb2)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Resistance,Rb1(k-ohm) = 6\n",
        "Resistance,Rb1(k-ohm) = 4\n"
       ]
      }
     ],
     "prompt_number": 7
    }
   ],
   "metadata": {}
  }
 ]
}