summaryrefslogtreecommitdiff
path: root/Electronic_Devices_and_Circuits_by_J._Paul/Ch3_1.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-05-12 23:30:31 +0600
committerTrupti Kini2016-05-12 23:30:31 +0600
commit5218db5dbae9c0890958f57af323c8d296ac9b07 (patch)
tree23dfd4b8c171a9f4ca5e20525a4f92a216484ce3 /Electronic_Devices_and_Circuits_by_J._Paul/Ch3_1.ipynb
parentda40306957548bcc4a1a8d5e2cdc8928017fe5da (diff)
downloadPython-Textbook-Companions-5218db5dbae9c0890958f57af323c8d296ac9b07.tar.gz
Python-Textbook-Companions-5218db5dbae9c0890958f57af323c8d296ac9b07.tar.bz2
Python-Textbook-Companions-5218db5dbae9c0890958f57af323c8d296ac9b07.zip
Added(A)/Deleted(D) following books
A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter25_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter26_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter27_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter28_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter29_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter30_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter31_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter32_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter33_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter34_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter35_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter36_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter37_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter38_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/chapter39_2.ipynb A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/screenshots/chapter29example32_2.png A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/screenshots/chapter29example33_2.png A A_Textbook_of_Electrical_Technology_:_AC_and_DC_Machines_(Volume_-_2)_by_A._K._Theraja_B.L_Thereja/screenshots/chapter32example30_2.png A Advance_Semiconductor_Devices_by_K._C._Nandi/chapter1_1.ipynb A Advance_Semiconductor_Devices_by_K._C._Nandi/chapter2_1.ipynb A Advance_Semiconductor_Devices_by_K._C._Nandi/chapter5_1.ipynb A Advance_Semiconductor_Devices_by_K._C._Nandi/screenshots/KC_econ1_chapter1_1.png A Advance_Semiconductor_Devices_by_K._C._Nandi/screenshots/KC_econ_ch1_1.png A Advance_Semiconductor_Devices_by_K._C._Nandi/screenshots/KC_percentChangeinDiodeCurrent_chapter2_1.png D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch15_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch15_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch15_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch16_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch16_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch16_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch17_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch17_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch17_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch18_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch18_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch18_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch19_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch19_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch19_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch20_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch20_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch20_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch21_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch21_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch21_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch22_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch22_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch22_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch23_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch23_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch23_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch24_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch24_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch24_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch25_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch25_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch25_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch26_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch26_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch26_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch27_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch27_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch27_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch28_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch28_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch28_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch29_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch29_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch29_3.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch30_1.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch30_2.ipynb D College_Physics_(volume_2)_by_R._A._Serway_and_J._S._Faughn/Ch30_3.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch10_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch11_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch12_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch13_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch1_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch2_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch3_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch4_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch5_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch6_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch7_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch8_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/Ch9_1.ipynb A Electronic_Devices_and_Circuits_by_J._Paul/screenshots/4CollCurr_1.png A Electronic_Devices_and_Circuits_by_J._Paul/screenshots/4MaxNBasRes_1.png A Electronic_Devices_and_Circuits_by_J._Paul/screenshots/4saturationMode_1.png D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_2.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_3.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_4.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch1_5.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_2.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_3.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_4.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch2_5.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_2.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_3.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_4.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch3_5.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_2.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_3.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_4.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch4_5.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_2.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_3.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_4.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch6_5.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_2.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_3.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_4.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch7_5.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_2.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_3.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_4.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/ch8_5.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/chapter1_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/chapter2_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/chapter3_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/chapter4_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/chapter6_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/chapter7_1.ipynb D Engineering_Physics_(volume_-_2)_by_B._K._Pandey_and_S._Chaturvedi/chapter8_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch11_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch12_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch13_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch14_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch3_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch4_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch5_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch6_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch7_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch8_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/Ch9_1.ipynb A Linear_Integrated_Circuit_by_M._S._Sivakumar/screenshots/BiasingVoltage_1.png A Linear_Integrated_Circuit_by_M._S._Sivakumar/screenshots/InOutCrrnt_1.png A Linear_Integrated_Circuit_by_M._S._Sivakumar/screenshots/inAndOutCurrnt_1.png
Diffstat (limited to 'Electronic_Devices_and_Circuits_by_J._Paul/Ch3_1.ipynb')
-rw-r--r--Electronic_Devices_and_Circuits_by_J._Paul/Ch3_1.ipynb261
1 files changed, 261 insertions, 0 deletions
diff --git a/Electronic_Devices_and_Circuits_by_J._Paul/Ch3_1.ipynb b/Electronic_Devices_and_Circuits_by_J._Paul/Ch3_1.ipynb
new file mode 100644
index 00000000..3939306a
--- /dev/null
+++ b/Electronic_Devices_and_Circuits_by_J._Paul/Ch3_1.ipynb
@@ -0,0 +1,261 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 3 - Special Semiconductor Diodes "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 138 example 1"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "resistance range from 196.00 to 217.78 ohms\n",
+ "resistance range at 50 from 146.00 to 167.78 ohms\n"
+ ]
+ }
+ ],
+ "source": [
+ "#zener diode\n",
+ "voltag=5.2##volts\n",
+ "w=260*10**-3##watts\n",
+ "appv=15##voltsw1=50##watts\n",
+ "imax=w/voltag*0.1#\n",
+ "#to maitain a constant voltage\n",
+ "imax1=(w/voltag)-imax#\n",
+ "resmin=(appv-voltag)/(w/voltag)#\n",
+ "resmax=(appv-voltag)/imax1#\n",
+ "#load 50\n",
+ "resmax1=((9.8)/(45*10**-3))-50#\n",
+ "resmin1=((9.8)/(50*10**-3))-50#\n",
+ "res50=resmax1-resmin1#\n",
+ "print \"resistance range from %0.2f\"%(resmin),\" to %0.2f\"%(resmax),\"ohms\"\n",
+ "print \"resistance range at 50 from %0.2f\"%(resmin1),\" to %0.2f\"%(resmax1),\"ohms\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 139 example 2"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "voltage drop = 5.67volts\n"
+ ]
+ }
+ ],
+ "source": [
+ "i1=20*10**-3##ampere\n",
+ "i=30*10**-3##ampere\n",
+ "v1=5.6##volts\n",
+ "v=5.65##volts\n",
+ "#condition\n",
+ "u=35*10**-3##ampere\n",
+ "voltag=5*u+5.5#\n",
+ "print \"voltage drop = %0.2f\"%(voltag)+\"volts\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 139 example 3 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "fi0 = 4.96\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import log\n",
+ "v=4.3##volt\n",
+ "q=4##volt\n",
+ "dop=10**17##per cubic centimetre\n",
+ "fi0=0.254*log(dop/(5.1*10**10))#\n",
+ "fi01=0.407+q+0.55#\n",
+ "print 'fi0 = %0.2f'%(fi01)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 140example 4 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "current = 9.95e-05 ampere\n",
+ "resistance = 1.61e+05 ohm\n",
+ "r1 = 1.60e+05 ohm\n",
+ "r2 = 4.02e+04 ohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "from __future__ import division\n",
+ "v1=20##volt\n",
+ "i1=((v1)/(200+1))*10**-3#\n",
+ "print 'current = %0.2e'%(i1),'ampere'\n",
+ "#greater than 20\n",
+ "vone=16#\n",
+ "r=vone/i1#\n",
+ "r1=r-1*10**3#\n",
+ "r11=200*10**3-r1#\n",
+ "print 'resistance = %0.2e'%(r),'ohm'\n",
+ "print \"r1 = %0.2e\"%((r1)),\"ohm\"\n",
+ "print \"r2 = %0.2e\"%((r11)),\"ohm\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 142 example 6 "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "maximum current = 0.035 ampere\n",
+ "v1 minimum = 262.50 volt\n",
+ "v1 maximum = 393.75 volt\n"
+ ]
+ }
+ ],
+ "source": [
+ "v1=150##volt\n",
+ "vone=300#volt\n",
+ "idmax=40*10**-3##ampere\n",
+ "idmin=5*10**-3##ampere\n",
+ "r=(vone-v1)/idmax#\n",
+ "imax=idmax-idmin#\n",
+ "print 'maximum current = %0.3f'%(imax),'ampere'\n",
+ "#minimum\n",
+ "zq=1#\n",
+ "while (zq<=2):\n",
+ " if zq==1 :\n",
+ " ione=25*10**-3#\n",
+ " i1=ione+idmin#\n",
+ " vmin=(i1*r)+v1#\n",
+ " print 'v1 minimum = %0.2f'%(vmin),'volt'\n",
+ " else:\n",
+ " ione=25*10**-3#\n",
+ " i1=ione+idmax#\n",
+ " vmin=(i1*r)+v1#\n",
+ " print 'v1 maximum = %0.2f'%(vmin),'volt'\n",
+ " \n",
+ " \n",
+ " zq=zq+1#\n",
+ " "
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 142 example 7"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "width = 2.22e-08 metre\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "q=4.5*10**22##atoms per cubic metre\n",
+ "na=q/(10**4)#\n",
+ "eo=0.026*24.16#\n",
+ "e=1.6*10**-19#\n",
+ "W=sqrt((4*16*0.628)/(36*3.14*10**9*na*10**6*e))#\n",
+ "print 'width = %0.2e'%(W),'metre'"
+ ]
+ }
+ ],
+ "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.9"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}