diff options
author | Trupti Kini | 2016-08-24 23:30:24 +0600 |
---|---|---|
committer | Trupti Kini | 2016-08-24 23:30:24 +0600 |
commit | 2e6cacc645c7aaaf848ea854843461f5bd589766 (patch) | |
tree | e348cd1aa9d4235edb12a6357a24b6295308bfe4 /Principles_of_Physics_by_F.J.Bueche/Chapter24_1.ipynb | |
parent | 6d761d4b1820e2b0e271f7ff8ee1e5da5814b07b (diff) | |
download | Python-Textbook-Companions-2e6cacc645c7aaaf848ea854843461f5bd589766.tar.gz Python-Textbook-Companions-2e6cacc645c7aaaf848ea854843461f5bd589766.tar.bz2 Python-Textbook-Companions-2e6cacc645c7aaaf848ea854843461f5bd589766.zip |
Added(A)/Deleted(D) following books
A Principles_of_Physics_by_F.J.Bueche/Chapter10_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter10_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter11_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter13_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter14_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter15_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter16_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter17_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter18_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter19_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter1_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter1_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter20_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter21_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter22_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter23_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter24_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter25_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter26_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter27_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter2_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter2_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter3_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter3_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter4_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter4_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter5_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter5_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter6_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter6_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter7_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter7_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter8_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter9_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/Chapter9_2.ipynb
A Principles_of_Physics_by_F.J.Bueche/chapter12_1.ipynb
A Principles_of_Physics_by_F.J.Bueche/screenshots/11.2_1.png
A Principles_of_Physics_by_F.J.Bueche/screenshots/24.4_1.png
A Principles_of_Physics_by_F.J.Bueche/screenshots/8.4_1.png
Diffstat (limited to 'Principles_of_Physics_by_F.J.Bueche/Chapter24_1.ipynb')
-rw-r--r-- | Principles_of_Physics_by_F.J.Bueche/Chapter24_1.ipynb | 172 |
1 files changed, 172 insertions, 0 deletions
diff --git a/Principles_of_Physics_by_F.J.Bueche/Chapter24_1.ipynb b/Principles_of_Physics_by_F.J.Bueche/Chapter24_1.ipynb new file mode 100644 index 00000000..bce619da --- /dev/null +++ b/Principles_of_Physics_by_F.J.Bueche/Chapter24_1.ipynb @@ -0,0 +1,172 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Chapter 24:Interference and Diffraction" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Ex24.1:pg-1130" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The angle at which the reinforcement line occurs is theta2= 44.0 degrees\n" + ] + } + ], + "source": [ + " #Example 24_1\n", + "import math \n", + " \n", + " #To find the angle at which the reinforcement line occurs\n", + "n=2 #units in constant\n", + "lamda=0.7 #units in cm\n", + "d=2 #units in cm\n", + "theta2=math.asin((n*lamda)/d)*180/math.pi #Units in degrees\n", + "print \"The angle at which the reinforcement line occurs is theta2=\",round(theta2),\" degrees\"\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Ex24.2:pg-1131" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The thickness of air gap increases by= 294.0 nm\n" + ] + } + ], + "source": [ + " #Example 24_2\n", + "import math \n", + " \n", + " #To find by how much does thickness of air gap increases\n", + "lamda=589 #units in nm\n", + "gap=round(lamda/2) #units in nm\n", + "print \"The thickness of air gap increases by=\",round(gap),\" nm\"\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Ex24.3:pg-1132" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The thickness that should be coated for minimum reflection is L= 99.6 nm\n" + ] + } + ], + "source": [ + " #Example 24_3\n", + "import math \n", + " \n", + " #To find the thickness that should be coated for minimum reflection\n", + "lamda=550 #units in nm\n", + "n=1.38 #units in constant\n", + "L=(lamda/2)/(2*n) #units in nm\n", + "print \"The thickness that should be coated for minimum reflection is L=\",round(L,1),\" nm\"\n" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Ex24.4:pg-1133" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "For the first order theta1= 32.0 degrees\n", + "For the second order theta2= 53.0 degrees\n", + "\n", + " As it is impossible for the sine of angle that is= 1.18 radians to be greater that unity this second order and higher order images doesnot exist\n" + ] + } + ], + "source": [ + " #Example 24_4\n", + "\n", + "import math \n", + " \n", + "#To find out the angle at which the line appears\n", + "line=5.89*10**-7 #Units in meters\n", + "noline=1/10.0**6 #units in Lines per meter\n", + "theta1=math.sin(line/noline)*180/math.pi #units in degrees\n", + "#For second order\n", + "theta2=math.sin(2*line/noline)*180/math.pi #units in degrees\n", + "print \"For the first order theta1=\",round(theta1),\" degrees\\nFor the second order theta2=\",round(theta2),\" degrees\"\n", + "sinevalue=2*line/noline #units in radians\n", + "print \"\\n As it is impossible for the sine of angle that is=\",round(sinevalue,2),\" radians to be greater that unity this second order and higher order images doesnot exist\"\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.11" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} |