diff options
Diffstat (limited to 'sample_notebooks/PankajDoshi/Chapter_1.ipynb')
-rwxr-xr-x | sample_notebooks/PankajDoshi/Chapter_1.ipynb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sample_notebooks/PankajDoshi/Chapter_1.ipynb b/sample_notebooks/PankajDoshi/Chapter_1.ipynb new file mode 100755 index 00000000..fafb9249 --- /dev/null +++ b/sample_notebooks/PankajDoshi/Chapter_1.ipynb @@ -0,0 +1 @@ +{"nbformat_minor": 0, "cells": [{"source": "# Special Diodes", "cell_type": "markdown", "metadata": {}}, {"source": "# Example 1.1 Page No. 1-11", "cell_type": "markdown", "metadata": {}}, {"execution_count": 62, "cell_type": "code", "source": "# Assumution\nprint(\"Assume the drop across the LED as 2 V\\n\"); \nprint(\"Therefore, VD = 2 V\\n\");\n\n# Given Data\nprint(\"From fig. 1.11, Rs = 2.2 kohm and Vs = 15 V\\n\"); \n\n# Calculation in mA\nIs =(15 -2) /(2.2); \n\n# Result\nprint \"Therefore, Is(mA) = (Vs-VD/Rs) = \" ,round(Is,2),\"mA\"; ", "outputs": [{"output_type": "stream", "name": "stdout", "text": "Assume the drop across the LED as 2 V\n\nTherefore, VD = 2 V\n\nFrom fig. 1.11, Rs = 2.2 kohm and Vs = 15 V\n\nTherefore, Is(mA) = (Vs-VD/Rs) = 5.91 mA\n"}], "metadata": {"collapsed": false, "trusted": true}}, {"source": "# Example 1.2 Page No. 1-20", "cell_type": "markdown", "metadata": {}}, {"execution_count": 70, "cell_type": "code", "source": "import math\n\n# Formula\nprint(\"The transistor capacitance is given by,\"); \nprint(\"CT = C(0)/[1+jVR/VJ j^n]\\n\");\n\n# Given Data\nprint(\"Now C(0) = 80pF , n = 1/3 as diffused junction\"); \nprint(\"VR = 4.2 V, VJ = 0.7 V\\n\");\n\n# Calculation in pF\nct = round((80*pow(10,-12))/((pow((1+(4.2/0.7)),(0.3333))))*pow(10,12),2); \n\n# Result\nprint \"Therefore, CT(pF) = \", ct,\"pF\"; \n\n# Formula\nprint(\"\\nThe transistor capacitance is also given by, \" )\nprint(\"CT = K/[VR+VJ]^n\\n\") \n\n#Calculation\nk = round((41.82*pow(10,-12))*(pow((4.2+0.7),(0.3333)))*pow(10,12),2); \n\n# Result\nprint \"Therefore, K = \", k,\"* 10^-12\"; ", "outputs": [{"output_type": "stream", "name": "stdout", "text": "The transistor capacitance is given by,\nCT = C(0)/[1+jVR/VJ j^n]\n\nNow C(0) = 80pF , n = 1/3 as diffused junction\nVR = 4.2 V, VJ = 0.7 V\n\nTherefore, CT(pF) = 41.82 pF\n\nThe transistor capacitance is also given by, \nCT = K/[VR+VJ]^n\n\nTherefore, K = 71.03 * 10^-12\n"}], "metadata": {"scrolled": true, "collapsed": false, "trusted": true}}], "nbformat": 4, "metadata": {"kernelspec": {"display_name": "Python 2", "name": "python2", "language": "python"}, "language_info": {"mimetype": "text/x-python", "nbconvert_exporter": "python", "version": "2.7.9", "name": "python", "file_extension": ".py", "pygments_lexer": "ipython2", "codemirror_mode": {"version": 2, "name": "ipython"}}}}
\ No newline at end of file |