summaryrefslogtreecommitdiff
path: root/sample_notebooks/AjayKumar Verma
diff options
context:
space:
mode:
authorTrupti Kini2016-01-18 23:30:16 +0600
committerTrupti Kini2016-01-18 23:30:16 +0600
commitc650baff1a6cd824f367363ad4ce27a5ded3b230 (patch)
treeb8b414de1ee244cfe57e28acf47887b96d5dd6af /sample_notebooks/AjayKumar Verma
parentd386545d7d76f53f459bfd1a9ddf60d3755db9da (diff)
downloadPython-Textbook-Companions-c650baff1a6cd824f367363ad4ce27a5ded3b230.tar.gz
Python-Textbook-Companions-c650baff1a6cd824f367363ad4ce27a5ded3b230.tar.bz2
Python-Textbook-Companions-c650baff1a6cd824f367363ad4ce27a5ded3b230.zip
Added(A)/Deleted(D) following books
A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER01.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER02.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER03.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER04.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER07.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER09.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER11.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER15.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER16.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER18.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER19.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER20.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER23.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/CHAPTER24.ipynb A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture02.png A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture04.png A Electrical_Engineering_Fundamentals_by__Del_Toro_Vincent_/screenshots/Capture20.png A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/Chapter9_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter1_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter2_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter3_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter4_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter6_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter7_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter8_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/chapter_5_4.ipynb A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/screenshots/Ex1.2_1.png A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/screenshots/Ex3.7_1.png A Introductory_Methods_Of_Numerical_Analysis__by_S._S._Sastry/screenshots/Ex6.7_1.png A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter02_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter03_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter04_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter05_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter06_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter07_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter08_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter09_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter10_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/Chapter11_1.ipynb A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/screenshots/Capture02_1.png A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/screenshots/Capture04_1.png A Solid_State_Devices_and_Circuits___by_V._Chaudhary_and_H._K._Maity/screenshots/Capture10_1.png A "sample_notebooks/AjayKumar Verma/Chapter02.ipynb" A sample_notebooks/Haseen/Ch2.ipynb A sample_notebooks/karansingh/Ch4.ipynb
Diffstat (limited to 'sample_notebooks/AjayKumar Verma')
-rw-r--r--sample_notebooks/AjayKumar Verma/Chapter02.ipynb265
1 files changed, 265 insertions, 0 deletions
diff --git a/sample_notebooks/AjayKumar Verma/Chapter02.ipynb b/sample_notebooks/AjayKumar Verma/Chapter02.ipynb
new file mode 100644
index 00000000..d4d9f66e
--- /dev/null
+++ b/sample_notebooks/AjayKumar Verma/Chapter02.ipynb
@@ -0,0 +1,265 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:dbdab30ceee2e893077ec98e42cc102488d52b9f8506602ce6aaa24ef3e22c61"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter02 : Op-amp Fundamentals"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Exa 2.2 : page 79"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "from __future__ import division \n",
+ "#given data\n",
+ "Iio=20 #in nA\n",
+ "IB=100 #in nA\n",
+ "# Eqn(1) : Iio=IB1-IB2=20\n",
+ "#Eqn(2) : 2*IB=IB1+IB2=200\n",
+ "IB1=(200+20)/2 #in nA\n",
+ "print \"IB1 = %0.f nA\"%IB1\n",
+ "IB2=IB1-Iio #in nA\n",
+ "print \"IB2 = %0.f nA\"%IB2"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "IB1 = 110 nA\n",
+ "IB2 = 90 nA\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Exa 2.3 : page 82"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given data\n",
+ "G=120 #unitless\n",
+ "To=20 #in degree centigrade\n",
+ "T=50 #in degree centigrade\n",
+ "Dvoff=0.13 #in mV/degree centigrade\n",
+ "#input change\n",
+ "dVin=Dvoff*(T-To) #in mVolt\n",
+ "#output change\n",
+ "Vo=G*dVin #in mVolt\n",
+ "print \"Output voltage = %0.f mV\" %Vo"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Output voltage = 468 mV\n"
+ ]
+ }
+ ],
+ "prompt_number": 6
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Exa 2.4 : page 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given data\n",
+ "dt=5 #in uSec\n",
+ "Vp=5 #in Volt\n",
+ "dV=(0.9-0.1)*Vp\n",
+ "SR=dV/dt #in V/uSec\n",
+ "print \"Calculated SR = %0.2f V/uSec\"%SR"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Calculated SR = 0.80 V/uSec\n"
+ ]
+ }
+ ],
+ "prompt_number": 8
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Exa 2.5 : page 83"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given data\n",
+ "Vo=10 #in Volt\n",
+ "SR=1 #in V/uSec\n",
+ "dV=(0.9-0.1)*Vo\n",
+ "dt=dV/SR #in uSec\n",
+ "print \"Rise time = %0.f uSec\"%dt"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Rise time = 8 uSec\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Exa 2.6 : page 84"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#given data\n",
+ "V1=-5 #in Volt\n",
+ "V2=5 #in Volt\n",
+ "SR=0.5 #in V/uSec\n",
+ "dV=V2-V1 # in Volt\n",
+ "dt=dV/SR #in uSec\n",
+ "print \"Rise time = %0.f uSec\"%dt"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Rise time = 20 uSec\n"
+ ]
+ }
+ ],
+ "prompt_number": 12
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Exa 2.7 : page 84"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import numpy as np\n",
+ "#given data\n",
+ "fm=50 #in kHz\n",
+ "SR=0.5 #in V/uSec\n",
+ "#formula : SR=2*pie*fm*Vm\n",
+ "Vm=(SR*10**6)/(2*np.pi*fm*10**3) #in Volts\n",
+ "print \"Maximum voltage = %0.2f Volt \"%Vm"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Maximum voltage = 1.59 Volt \n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Exa 2.8 : page 84"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import numpy as np\n",
+ "#given data\n",
+ "SR=6 #in V/uSec\n",
+ "#formula : SR=2*pie*fm*Vm\n",
+ "# part (i) Vm=1 volt\n",
+ "Vm=1 #in Volts\n",
+ "fm=((SR*10**6)/(2*np.pi*Vm))/1000 #in kHz\n",
+ "print \"when Vm=1 volt the limiting frequency = %0.f kHz\"%fm\n",
+ "# part (ii) Vm=10 volt\n",
+ "Vm=10 #in Volts\n",
+ "fm=((SR*10**6)/(2*np.pi*Vm))/1000 #in kHz\n",
+ "print \"when Vm=10 Volt the limiting frequency = %0.1f kHz\"%fm"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "when Vm=1 volt the limiting frequency = 955 kHz\n",
+ "when Vm=10 Volt the limiting frequency = 95.5 kHz\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file