summaryrefslogtreecommitdiff
path: root/Electronic_Devices_by_Thomas_L._Floyd/Chapter11.ipynb
blob: 966e36199ed7ad7bc2458e74b52424e6d59edf7e (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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
 "metadata": {
  "name": "Chapter_11"
 }, 
 "nbformat": 2, 
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "markdown", 
     "source": [
      "<h1>Chapter 11: Thyristors and other Devices<h1>"
     ]
    }, 
    {
     "cell_type": "markdown", 
     "source": [
      "<h3>Example 11.1, Page Number: 353<h3>"
     ]
    }, 
    {
     "cell_type": "code", 
     "collapsed": false, 
     "input": [
      "", 
      "V_AK=20.0;    #VOLTAGE ACROSS ANODE", 
      "I_A=1*10**-6;", 
      "R_AK=V_AK/I_A;", 
      "print('Resistance = %d * 10^6 Ohm'%(R_AK/10**6))"
     ], 
     "language": "python", 
     "outputs": [
      {
       "output_type": "stream", 
       "stream": "stdout", 
       "text": [
        "Resistance = 20 * 10^6 Ohm"
       ]
      }
     ], 
     "prompt_number": 1
    }, 
    {
     "cell_type": "markdown", 
     "source": [
      "<h3>Example 11.2, Page Number: 354<h3>"
     ]
    }, 
    {
     "cell_type": "code", 
     "collapsed": false, 
     "input": [
      "", 
      "R_S=10**3;", 
      "V_BIAS=110.0;", 
      "V_BE=0.7;", 
      "V_CE_sat=0.1;", 
      "V_A=V_BE+V_CE_sat;    #VOLTAGE ACROSS ANODE", 
      "V_R_s=V_BIAS-V_A;    #VOLTAGE ACROSS R_S", 
      "I_A=V_R_s/R_S;", 
      "print('Anode current = %f A'%I_A)"
     ], 
     "language": "python", 
     "outputs": [
      {
       "output_type": "stream", 
       "stream": "stdout", 
       "text": [
        "Anode current = 0.109200 A"
       ]
      }
     ], 
     "prompt_number": 2
    }, 
    {
     "cell_type": "markdown", 
     "source": [
      "<h3>Example 11.3, Page Number: 364<h3>"
     ]
    }, 
    {
     "cell_type": "code", 
     "collapsed": false, 
     "input": [
      "", 
      "n=0.6;", 
      "V_BB=20.0;", 
      "V_pn=0.7;", 
      "V_P=n*V_BB+V_pn;", 
      "print('peak point emitter voltage = %.1f Volts'%V_P)"
     ], 
     "language": "python", 
     "outputs": [
      {
       "output_type": "stream", 
       "stream": "stdout", 
       "text": [
        "peak point emitter voltage = 12.7 Volts"
       ]
      }
     ], 
     "prompt_number": 3
    }, 
    {
     "cell_type": "markdown", 
     "source": [
      "<h3>Example 11.4, page Number: 366<h3>"
     ]
    }, 
    {
     "cell_type": "code", 
     "collapsed": false, 
     "input": [
      "", 
      "V_BB=30.0;", 
      "V_P=14.0;", 
      "I_P=20.0*10**-6;", 
      "V_V=1.0;", 
      "I_V=10.0*10**-3;", 
      "x=(V_BB-V_P)/I_P;", 
      "y=(V_BB-V_V)/I_V;", 
      "print('R1 should be less than %d Ohms'%x)", 
      "print('R1 should be more than %d Ohms'%y)"
     ], 
     "language": "python", 
     "outputs": [
      {
       "output_type": "stream", 
       "stream": "stdout", 
       "text": [
        "R1 should be less than 800000 Ohms", 
        "R1 should be more than 2900 Ohms"
       ]
      }
     ], 
     "prompt_number": 4
    }, 
    {
     "cell_type": "markdown", 
     "source": [
      "<h3>Example 11.5, Page Number: 376<h3>"
     ]
    }, 
    {
     "cell_type": "code", 
     "collapsed": false, 
     "input": [
      "", 
      "import math", 
      "n2=1.3;    #cladding index", 
      "n1=1.35;    #core index", 
      "theta=math.acos(n2/n1);", 
      "t=theta*180/math.pi;", 
      "print('critical angle in degrees \\n\\t%f'%t)"
     ], 
     "language": "python", 
     "outputs": [
      {
       "output_type": "stream", 
       "stream": "stdout", 
       "text": [
        "critical angle in degrees ", 
        "\t15.642471"
       ]
      }
     ], 
     "prompt_number": 5
    }
   ]
  }
 ]
}