diff options
author | Trupti Kini | 2016-02-12 23:30:12 +0600 |
---|---|---|
committer | Trupti Kini | 2016-02-12 23:30:12 +0600 |
commit | 31971be1cad3895af030bb3909a791a0b0ad6b4f (patch) | |
tree | 2b15a81deccde7acdac20f934675fccd677812a2 /sample_notebooks/PriyankaSaini/Chapter3.ipynb | |
parent | c00ea066e3f752b36e9afb0ced7084b71814c89e (diff) | |
download | Python-Textbook-Companions-31971be1cad3895af030bb3909a791a0b0ad6b4f.tar.gz Python-Textbook-Companions-31971be1cad3895af030bb3909a791a0b0ad6b4f.tar.bz2 Python-Textbook-Companions-31971be1cad3895af030bb3909a791a0b0ad6b4f.zip |
Added(A)/Deleted(D) following books
A Electronics_Engineering_by_P._Raja/chapter_1_2.ipynb
A Electronics_Engineering_by_P._Raja/chapter_2_2.ipynb
A Electronics_Engineering_by_P._Raja/chapter_3_2.ipynb
A Electronics_Engineering_by_P._Raja/chapter_4_2.ipynb
A Electronics_Engineering_by_P._Raja/chapter_5_2.ipynb
A Electronics_Engineering_by_P._Raja/chapter_6_2.ipynb
A Electronics_Engineering_by_P._Raja/chapter_7_2.ipynb
A Electronics_Engineering_by_P._Raja/chapter_8_2.ipynb
A Electronics_Engineering_by_P._Raja/chapter_9_2.ipynb
A Electronics_Engineering_by_P._Raja/screenshots/7_2.png
A Electronics_Engineering_by_P._Raja/screenshots/snap-3_2.png
A Electronics_Engineering_by_P._Raja/screenshots/snap-6_2.png
A Machine_Design_by_U.C._Jindal/Ch10.ipynb
A Machine_Design_by_U.C._Jindal/Ch11.ipynb
A Machine_Design_by_U.C._Jindal/Ch12.ipynb
A Machine_Design_by_U.C._Jindal/Ch13.ipynb
A Machine_Design_by_U.C._Jindal/Ch14.ipynb
A Machine_Design_by_U.C._Jindal/Ch15.ipynb
A Machine_Design_by_U.C._Jindal/Ch16.ipynb
A Machine_Design_by_U.C._Jindal/Ch17.ipynb
A Machine_Design_by_U.C._Jindal/Ch18.ipynb
A Machine_Design_by_U.C._Jindal/Ch19.ipynb
A Machine_Design_by_U.C._Jindal/Ch20.ipynb
A Machine_Design_by_U.C._Jindal/Ch21.ipynb
A Machine_Design_by_U.C._Jindal/Ch22.ipynb
A Machine_Design_by_U.C._Jindal/Ch23.ipynb
A Machine_Design_by_U.C._Jindal/Ch24.ipynb
A Machine_Design_by_U.C._Jindal/Ch25.ipynb
A Machine_Design_by_U.C._Jindal/Ch26.ipynb
A Machine_Design_by_U.C._Jindal/Ch27.ipynb
A Machine_Design_by_U.C._Jindal/Ch28.ipynb
A Machine_Design_by_U.C._Jindal/Ch29.ipynb
A Machine_Design_by_U.C._Jindal/Ch3.ipynb
A Machine_Design_by_U.C._Jindal/Ch30.ipynb
A Machine_Design_by_U.C._Jindal/Ch31.ipynb
A Machine_Design_by_U.C._Jindal/Ch4.ipynb
A Machine_Design_by_U.C._Jindal/Ch5.ipynb
A Machine_Design_by_U.C._Jindal/Ch6.ipynb
A Machine_Design_by_U.C._Jindal/Ch7.ipynb
A Machine_Design_by_U.C._Jindal/Ch8.ipynb
A Machine_Design_by_U.C._Jindal/Ch9.ipynb
A Machine_Design_by_U.C._Jindal/screenshots/Chapter-3stressgraph.png
A Machine_Design_by_U.C._Jindal/screenshots/Chapter-_8AdditionalLoad.png
A Machine_Design_by_U.C._Jindal/screenshots/Chapter11_-_strengthofrevet.png
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter02_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter03_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter04_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter05_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter06_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter07_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter08_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter09_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter10_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter11_2.ipynb
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/screenshots/Screenshot_3.1.py.PNG
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/screenshots/Screenshot_6.1.py.PNG
A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/screenshots/Screenshot_6.2.py.PNG
A sample_notebooks/PriyankaSaini/Chapter3.ipynb
A sample_notebooks/ebbygeorge/Chapter01.ipynb
Diffstat (limited to 'sample_notebooks/PriyankaSaini/Chapter3.ipynb')
-rw-r--r-- | sample_notebooks/PriyankaSaini/Chapter3.ipynb | 295 |
1 files changed, 295 insertions, 0 deletions
diff --git a/sample_notebooks/PriyankaSaini/Chapter3.ipynb b/sample_notebooks/PriyankaSaini/Chapter3.ipynb new file mode 100644 index 00000000..9151442b --- /dev/null +++ b/sample_notebooks/PriyankaSaini/Chapter3.ipynb @@ -0,0 +1,295 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:d42b95d086e994736fd89da8bf44c85325c991b363e30dcf52a4839620130b97" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Ch-3 Electroluminescent Sources" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.1 Page no 80" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from __future__ import division\n", + "from math import log\n", + "#Calculation of barrier potential\n", + "#Given data\n", + "p=5# # Resistivity of p-region\n", + "n=2# # Resistivity of n-region\n", + "mu=3900#\n", + "k=0.026# #Boltzmann constant\n", + "ni=2.5*10**13# #Density of the electron hole pair\n", + "e=1.6*10**-19# #charge of electron\n", + " \n", + "#Barrier potential calculation\n", + "r0=(1/p)# # Reflection at the fiber air interface \n", + "r1=(1/n)#\n", + "m=r1/(mu*e)#\n", + "p=6.5*10**14# #Density of hole in p -region\n", + "Vb=k*log(p*m/ni**2)#\n", + "print \"Barrier potential = %0.3f V\"%Vb\n", + "\n", + "# The answers vary due to round off error" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Barrier potential = 0.175 V\n" + ] + } + ], + "prompt_number": 19 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.15 Page no 484" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "# Calculation of external efficiency \n", + "#Given data\n", + "ne1=0.20# #Total efficiency \n", + "V=3# # Voltage applied\n", + "Eg=1.43# # Bandgap energy\n", + "\n", + "# External efficiency\n", + "ne=(ne1*Eg/V)*100#\n", + "print \"External efficiency of the device = %0.1f %% \"%(ne)#" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "External efficiency of the device = 9.5 % \n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.16 Page no 484" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "from math import exp\n", + "# Calculation of ratio of threshold current densities\n", + "# Given data\n", + "To1=160# # Device temperature\n", + "To2=55# # Device temperature\n", + "T1=293#\n", + "T2=353#\n", + "J81=exp(T1/To1)# # Threshold current density \n", + "J21=exp(T2/To1)#\n", + "J82=exp(T1/To2)## \n", + "J22=exp(T2/To2)## \n", + "cd1=J21/J81# # Ratio of threshold current densities\n", + "cd2=J22/J82#\n", + "\n", + "print\"Ratio of threshold current densities= %0.2f \"%(cd1)\n", + "print\"Ratio of threshold current densities= %0.2f \"%(cd2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Ratio of threshold current densities= 1.45 \n", + "Ratio of threshold current densities= 2.98 \n" + ] + } + ], + "prompt_number": 9 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.17 Page no 484" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Computation of conversion efficiency \n", + "#Given data\n", + "i=10*10**-6# # Device current\n", + "p=5# # Electrical power\n", + "op=50 *10**-6# # Optical power\n", + "ip=5*10*10**-3# # Input power\n", + "\n", + "#Conversion efficiency\n", + "c=op/ip*100# \n", + "print \"Conversion efficiency = %0.1f %% \"%(c)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Conversion efficiency = 0.1 % \n" + ] + } + ], + "prompt_number": 18 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.18 Page no 485" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "# Calculation of total power emitted\n", + "#Given data\n", + "r=0.7# # Emissivity\n", + "r0=5.67*10**-8# # Stephen's constant\n", + "A=10**-4# # Surface area\n", + "T=2000# # Temperature\n", + "\n", + "# Total power emitted\n", + "P=r*r0*A*T**4# \n", + "\n", + "print\"Total power emitted = %0.1f Watts \"%P" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Total power emitted = 63.5 Watts \n" + ] + } + ], + "prompt_number": 14 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.19 Page no 485" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "# Computation of total energy\n", + "#Given data\n", + "h=6.63*10**-34# # Planck constant\n", + "v=5*10**14# # Bandgap frequency of laser\n", + "N=10**24# # Population inversion density\n", + "V=10**-5# # Volume of laser medium\n", + "\n", + "# Total energy\n", + "E=(1/2)*h*v*(N)*V# \n", + "\n", + "print \"Total energy = %0.1f J \"%E" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Total energy = 1.7 J \n" + ] + } + ], + "prompt_number": 13 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3.20 Page no 485" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "# Computation of pulse power\n", + "# Given data\n", + "L=0.1# # Length of laser\n", + "R=0.8# # Mirror reflectance of end mirror\n", + "E=1.7# # Laser pulse energy\n", + "c=3*10**8# # Velocity of light\n", + "t=L/((1-R)*c)# # Cavity life time\n", + "\n", + "# Pulse power\n", + "p=E/t# \n", + "\n", + "print\"Pulse power = %0.0f W \"%p" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Pulse power = 1020000000 W \n" + ] + } + ], + "prompt_number": 20 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |