diff options
author | Trupti Kini | 2016-04-24 23:30:27 +0600 |
---|---|---|
committer | Trupti Kini | 2016-04-24 23:30:27 +0600 |
commit | b8713def3781405ca031a9b1d91f8de72cd7d9ba (patch) | |
tree | dd5bba760ee983d492704f743418f187721ab36b /sample_notebooks | |
parent | 98c79b2ca1a4a512ba5d3c491222836a83e63a2c (diff) | |
download | Python-Textbook-Companions-b8713def3781405ca031a9b1d91f8de72cd7d9ba.tar.gz Python-Textbook-Companions-b8713def3781405ca031a9b1d91f8de72cd7d9ba.tar.bz2 Python-Textbook-Companions-b8713def3781405ca031a9b1d91f8de72cd7d9ba.zip |
Added(A)/Deleted(D) following books
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter1.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter10.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter12.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter13.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter16.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter2.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter24.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter3.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter4.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter7.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/chapter8.ipynb
A Strength_of__Materials_by_Dr.R.K.Bansal/screenshots/Screenshot01.png
A Strength_of__Materials_by_Dr.R.K.Bansal/screenshots/Screenshot02.png
A Strength_of__Materials_by_Dr.R.K.Bansal/screenshots/Screenshot03.png
A sample_notebooks/MukteshChaudhary/ch5.ipynb
Diffstat (limited to 'sample_notebooks')
-rw-r--r-- | sample_notebooks/MukteshChaudhary/ch5.ipynb | 139 |
1 files changed, 139 insertions, 0 deletions
diff --git a/sample_notebooks/MukteshChaudhary/ch5.ipynb b/sample_notebooks/MukteshChaudhary/ch5.ipynb new file mode 100644 index 00000000..6b4fc11c --- /dev/null +++ b/sample_notebooks/MukteshChaudhary/ch5.ipynb @@ -0,0 +1,139 @@ +{ + "metadata": { + "name": "" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 5: Sequential Circuits, Flip flops & Multivibrators" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 1, Page 183\n" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Variable declaration\n", + "R=10*10**3;#external resistance ohm#\n", + "C=0.1*10**-6;#timing capacitor Farad#\n", + "\n", + "#Calculations\n", + "T=1.1*R*C;#time for which output remains high in monostable multivibrator using IC 555 timer#\n", + "\n", + "#Result\n", + "print \"Required time=%.1f milli-seconds\"%(T*10**3)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Required time=1.1 milli-seconds\n" + ] + } + ], + "prompt_number": 1 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 2, Page 183" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Variable declaration\n", + "Ra=10*10**3 #ohms\n", + "Rb=10*10**3 #ohms\n", + "C=.001*10**-6 #F\n", + "\n", + "#Calculations&Results\n", + "T1=.693*(Ra+Rb)*C;#charging time constant#\n", + "T2=.693*Rb*C;#discharging time constant#\n", + "T=T1+T2;#total time#\n", + "f=1./T;#frequency#\n", + "print 'frequency=%.2f KH'%(f*10**-3);\n", + "D=T2/T;#duty cycle#\n", + "D=D*100\n", + "print 'duty cycle=%.2f percent'%D\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "frequency=48.10 KH\n", + "duty cycle=33.33 percent\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 3, Page 184" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Variable declaration\n", + "Ra=6.8*10**3 #ohms\n", + "Rb=3.3*10**3 #ohms\n", + "C=.1*10**-6 #F\n", + "\n", + "#Calculations&Results\n", + "T1=.693*(Ra+Rb)*C;#charging time constant#\n", + "T2= .693*Rb*C;#discharging time constant#\n", + "T=T1+T2;#total time#\n", + "f=1/T#frequency#\n", + "print 'frequency=%.3f KH'%(f*10**-3)\n", + "D=T2/T;#duty cycle#\n", + "D=D*100\n", + "print 'duty cycle=%.2f percent'%D" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "frequency=1.077 KH\n", + "duty cycle=24.63 percent\n" + ] + } + ], + "prompt_number": 3 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |