diff options
Diffstat (limited to 'Solid_State_Pulse_Circuits/Chapter_10.ipynb')
-rwxr-xr-x | Solid_State_Pulse_Circuits/Chapter_10.ipynb | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/Solid_State_Pulse_Circuits/Chapter_10.ipynb b/Solid_State_Pulse_Circuits/Chapter_10.ipynb new file mode 100755 index 00000000..1505e51a --- /dev/null +++ b/Solid_State_Pulse_Circuits/Chapter_10.ipynb @@ -0,0 +1,94 @@ +{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:d6dce9450ff5762e74d24ec873c125e55f0da76ef5ec731320a5f691097d6889"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 10 - Basic Logic Gates and Logic Functions"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example E1 - Pg 313"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Caption:Determine low and high voltage outputs and resistance for desinging the gate circuit\n",
+ "Vcc=5.#Supply voltage(in volts)\n",
+ "Vf=0.7#Diode forward voltage(in volts)\n",
+ "I=0.5#Collector current(in mA)\n",
+ "Vce=0.2#Collector emitter voltage(in volts)\n",
+ "R=(Vcc-Vf-Vce)/I\n",
+ "Vl=Vce+Vf\n",
+ "Vh=Vcc\n",
+ "print '%s %.1f %s %.f %s %.1f' %('Lowvoltage outputs(in volts)=',Vl,'\\nhigh voltage outputs(in volts)=',Vh,'\\nRequired resistance(in kilo ohm)=',R)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Lowvoltage outputs(in volts)= 0.9 \n",
+ "high voltage outputs(in volts)= 5 \n",
+ "Required resistance(in kilo ohm)= 8.2\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example E2 - Pg 315"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Caption:Find minimum value of the resistance to design OR Gate\n",
+ "Rc=3.3#Collector resistance(in kilo ohm)\n",
+ "V=3.508#Gate output voltage(in volts)\n",
+ "Vcc=5.#Supply voltage(in volts)\n",
+ "Vf=0.7#Forward diode voltage(in volts)\n",
+ "I=(Vcc-Vf-V)/Rc\n",
+ "R=V/I\n",
+ "print '%s %.1f' %('Minimum value of resistance to design the circuit is(in kilo ohm)=',R)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Minimum value of resistance to design the circuit is(in kilo ohm)= 14.6\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+}
\ No newline at end of file |