summaryrefslogtreecommitdiff
path: root/Electronic_Devices_and_Circuits_by_J._Paul/Ch8_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/Ch8_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/Ch8_1.ipynb')
-rw-r--r--Electronic_Devices_and_Circuits_by_J._Paul/Ch8_1.ipynb256
1 files changed, 256 insertions, 0 deletions
diff --git a/Electronic_Devices_and_Circuits_by_J._Paul/Ch8_1.ipynb b/Electronic_Devices_and_Circuits_by_J._Paul/Ch8_1.ipynb
new file mode 100644
index 00000000..b498973e
--- /dev/null
+++ b/Electronic_Devices_and_Circuits_by_J._Paul/Ch8_1.ipynb
@@ -0,0 +1,256 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 8 - FET Amplifier"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 399 example 1"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "voltage gain = -12.00\n",
+ "voltage gain = -11.99\n"
+ ]
+ }
+ ],
+ "source": [
+ "from math import sqrt\n",
+ "freque=5*10**3##hertz\n",
+ "#(1)\n",
+ "g=2*10**-3##ampere per volt\n",
+ "rd=10*10**3##ohm\n",
+ "r1=30*10**3##ohm\n",
+ "r12=r1*r1/(r1+r1)\n",
+ "volgai=-(g*r12*rd)/(r12+rd)\n",
+ "print \"voltage gain = %0.2f\"%((volgai))\n",
+ "#correction : r12 should be taken as 15*10**3ohm in book\n",
+ "#(2) capacitance included\n",
+ "c=0.025*10**-6##farad\n",
+ "frequ1=1/((2*3.14*(((rd*r1)/(rd+r1))+r1))*c)\n",
+ "volgai=(volgai/(sqrt((1+(frequ1/freque)**2))))\n",
+ "\n",
+ "print \"voltage gain = %0.2f\"%((volgai))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 400 example 2"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "voltage gain -18.00\n"
+ ]
+ }
+ ],
+ "source": [
+ "rd=80*10**3##ohm\n",
+ "r1=8*10**3##ohm\n",
+ "rd12=5*10**3##ohm\n",
+ "rd1=rd*r1/(rd+r1)\n",
+ "u=30\n",
+ "volgai=-(u*rd1)/(rd1+rd12)\n",
+ "\n",
+ "print \"voltage gain %0.2f\"%((volgai))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 401 example 3"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "voltage gain = -1.18\n"
+ ]
+ }
+ ],
+ "source": [
+ "r1=60*10**3##ohm\n",
+ "volgai=-17.7\n",
+ "rg=80*10**3##ohm\n",
+ "volgai=((volgai*rg)/(1-volgai))/((rg/(1-volgai))+r1)\n",
+ "print \"voltage gain = %0.2f\"%((volgai))"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 405 example 6"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "r1 = 500.00 ohm\n",
+ "effective input resistance = 1.25 r3ohm\n",
+ "r2 = 1500.00 ohm\n",
+ "voltage gain = 0.98 av`\n"
+ ]
+ }
+ ],
+ "source": [
+ "vds=14##volt\n",
+ "idq=3*10**-3##ampere\n",
+ "vdd=20##volt\n",
+ "g=2*10**-2\n",
+ "rd=50*10**3##ohm\n",
+ "vgs=-1.5##volt\n",
+ "w=(vdd-vds)/idq\n",
+ "r1=-vgs/idq\n",
+ "r2=w-r1\n",
+ "inpres=1/(1-(0.8*((r1)/(r1+r2))))\n",
+ "volgai=(r1+r2)/(r1+r2+(1/(g)))\n",
+ "print \"r1 = %0.2f\"%((r1)),\"ohm\"\n",
+ "print \"effective input resistance = %0.2f\"%((inpres)),\"r3ohm\"\n",
+ "print \"r2 = %0.2f\"%((r2)),\"ohm\"\n",
+ "\n",
+ "\n",
+ "print \"voltage gain = %0.2f\"%((volgai)),\"av`\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 405 example 7"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "output voltage = -186.17 volt\n"
+ ]
+ }
+ ],
+ "source": [
+ "rg=40*10**3##ohm\n",
+ "voltag=(1-6*50)*3.3*10**3/(5.3*10**3)\n",
+ "\n",
+ "print \"output voltage = %0.2f\"%((voltag)),\"volt\"#\n",
+ "#correction required in the book"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## PageNumber 406 example 9"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "voltage gain = -25.00\n",
+ "frequency = 1.59e+07 hertz\n",
+ "output capacitance = 2.00e-12 farad\n",
+ "req = 5000.00 ohm\n"
+ ]
+ }
+ ],
+ "source": [
+ "u=50\n",
+ "rd=10*10**3##ohm\n",
+ "cgs=5*10**-12##farad\n",
+ "cgd=2*10**-12##farad\n",
+ "cds=2*10**-12##farad\n",
+ "freque=3##decibel\n",
+ "g=u/rd\n",
+ "volgai=-u*rd/(rd+rd)\n",
+ "req=rd*rd/(rd+rd)\n",
+ "frequ1=1/(2*3.14*cgd*req)\n",
+ "print \"voltage gain = %0.2f\"%((volgai))\n",
+ "#correction required in book\n",
+ "print \"frequency = %0.2e\"%((frequ1)),\"hertz\"\n",
+ "capac1=cgd*(1+g)\n",
+ "print \"output capacitance = %0.2e\"%((capac1)),\"farad\"\n",
+ "print \"req = %0.2f\"%((req)),\"ohm\"\n"
+ ]
+ }
+ ],
+ "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
+}