diff options
author | Trupti Kini | 2016-03-17 23:30:24 +0600 |
---|---|---|
committer | Trupti Kini | 2016-03-17 23:30:24 +0600 |
commit | 7d10afb628b5d7d6ca4e773a4b0af7daf8486590 (patch) | |
tree | 8ef747e21c838c15775d5fa3f61010902a698a0f /Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter9.ipynb | |
parent | f41fe1567ea73d4876295d3f7b412b4f312cf9f8 (diff) | |
download | Python-Textbook-Companions-7d10afb628b5d7d6ca4e773a4b0af7daf8486590.tar.gz Python-Textbook-Companions-7d10afb628b5d7d6ca4e773a4b0af7daf8486590.tar.bz2 Python-Textbook-Companions-7d10afb628b5d7d6ca4e773a4b0af7daf8486590.zip |
Added(A)/Deleted(D) following books
A Basic_Engineering_Thermodynamics_by_Rayner_Joel/README.txt
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter1.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter10.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter11.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter12.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter13.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter14.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter2.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter3.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter4.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter5.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter6.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter8.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter9.ipynb
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/screenshots/1.png
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/screenshots/2.png
A Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/screenshots/3.png
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter2_1.ipynb
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter3_1.ipynb
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter4_1.ipynb
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter6_1.ipynb
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter7_1.ipynb
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter8_1.ipynb
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter9_1.ipynb
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter2_1.png
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter3_1.png
A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter4_1.png
A Introduction_to_Electrical_Engineering_by_Er._J.P._Navani_&_Er._Sonal_Sapra/README.txt
Diffstat (limited to 'Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter9.ipynb')
-rw-r--r-- | Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter9.ipynb | 242 |
1 files changed, 242 insertions, 0 deletions
diff --git a/Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter9.ipynb b/Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter9.ipynb new file mode 100644 index 00000000..8f38e89c --- /dev/null +++ b/Engineering_Physics_by_S.L.Gupta,_Sanjeev_Gupta/Chapter9.ipynb @@ -0,0 +1,242 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 9: Physics of Semiconductor Devices" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Example number 9.1, Page number 256" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "value of current is 120.73 micro A\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "I0=0.3; #current(micro A)\n", + "V=0.15; #voltage(V)\n", + "\n", + "#Calculations\n", + "I=I0*(math.exp(40*V)-1); #value of current(micro A)\n", + "\n", + "#Result\n", + "print \"value of current is\",round(I,2),\"micro A\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Example number 9.2, Page number 256" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "reverse saturation current is 5.043 nA\n", + "answer in the book is wrong\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "I=10*10**-3; #current(A)\n", + "V=0.75; #voltage(V)\n", + "T=300; #temperature(K)\n", + "eta=2;\n", + "\n", + "#Calculations\n", + "VT=T/11600;\n", + "I0=I*10**9/(math.exp(V/(eta*VT))-1); #reverse saturation current(nA)\n", + "\n", + "#Result\n", + "print \"reverse saturation current is\",round(I0,3),\"nA\"\n", + "print \"answer in the book is wrong\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Example number 9.3, Page number 256" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "voltage applied is 0.3336 V\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "J=10**5; #current density(amp/m**2)\n", + "T=300; #temperature(K)\n", + "eta=1;\n", + "J0=250*10**-3; #saturation current density(A/m**2)\n", + "\n", + "#Calculations\n", + "VT=T/11600;\n", + "x=(J/J0)+1;\n", + "V=math.log(x)*VT; #voltage applied(V)\n", + "\n", + "#Result\n", + "print \"voltage applied is\",round(V,4),\"V\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Example number 9.4, Page number 257" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "rectification ratio is 343\n", + "answer in the book is wrong\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "I0=4*10**-6; #current(A)\n", + "T=273+25; #temperature(K)\n", + "V=0.15; #voltage(V)\n", + "eta=1;\n", + "\n", + "#Calculations\n", + "VT=T/11600;\n", + "IF=I0*(math.exp(V/VT)-1); #forward current(A)\n", + "IR=I0*(math.exp(-V/VT)-1); #reverse current(A)\n", + "r=-IF/IR; #rectification ratio\n", + "\n", + "#Result\n", + "print \"rectification ratio is\",int(r)\n", + "print \"answer in the book is wrong\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Example number 9.5, Page number 257" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "voltage applied is -0.06 Volt\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "T=300; #temperature(K)\n", + "eta=1;\n", + "I0=1;\n", + "I=-0.9*I0; #saturation current density(A/m**2)\n", + "\n", + "#Calculations\n", + "VT=T/11600;\n", + "x=(I/I0)+1;\n", + "V=math.log(x)*VT; #voltage applied(V)\n", + "\n", + "#Result\n", + "print \"voltage applied is\",round(V,2),\"Volt\"" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 2", + "language": "python", + "name": "python2" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.11" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} |