diff options
Diffstat (limited to 'sample_notebooks/AlokDadlani/ALOK_DADLANI_1.ipynb')
-rwxr-xr-x | sample_notebooks/AlokDadlani/ALOK_DADLANI_1.ipynb | 181 |
1 files changed, 181 insertions, 0 deletions
diff --git a/sample_notebooks/AlokDadlani/ALOK_DADLANI_1.ipynb b/sample_notebooks/AlokDadlani/ALOK_DADLANI_1.ipynb new file mode 100755 index 00000000..fb112015 --- /dev/null +++ b/sample_notebooks/AlokDadlani/ALOK_DADLANI_1.ipynb @@ -0,0 +1,181 @@ +{ + "metadata": { + "celltoolbar": "Raw Cell Format", + "name": "", + "signature": "sha256:3b06b8823767b3825269a747c05fd26d974c2716df62f30b0a870614bf61c112" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Introduction To Special Relativity And Space Science (By S.P. Singh)" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "CHAPTER NUMBER 1 : Interference Diffraction and Polarization" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "EXAMPLE 1.1 : (PAGE NUMBER 46)" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import math\n", + "#Given that\n", + "D=80# separation between source and screen in cm\n", + "d=0.18# separation between sources in cm \n", + "n=4# order of fringe\n", + "x_n=1.08# distance from central bright fringe in cm \n", + "print \"Standard formula used x_n= n*lambda1*D/d \"\n", + "\n", + "lambda1=d*x_n/(D*n)*1e7\n", + "print \"Wavelength of light used is\" ,lambda1, \"Angstrom.\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Standard formula used x_n= n*lambda1*D/d \n", + "Wavelength of light used is 6075.0 Angstrom.\n" + ] + } + ], + "prompt_number": 7 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "EXAMPLE NUMBER 1.2 : (PAGE NUMBER 47)" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import math\n", + "#Given that\n", + "beta=0.0320#fringe width in cm\n", + "D=100# separation between source and screen in cm\n", + "d=0.184# separation between sources in cm \n", + "print \" Standard formula used beta=lambda1*D/d \"\n", + "lambda1=d*beta/D*1e8\n", + "print \"Wavelength of light used is\" ,lambda1,\"Angstrom.\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + " Standard formula used beta=lambda1*D/d \n", + "Wavelength of light used is 5888.0 Angstrom.\n" + ] + } + ], + "prompt_number": 6 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "EXAMPLE NUMBER 1.3 : (Page Number 47)" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import math\n", + " #Given that\n", + "beta=0.02 #fringe width in cm\n", + "D=100 # separation between source and screen in cm\n", + "u=30 # separation between slit and convex lens in cm\n", + "I=0.7 # separation between two images of slits on screen in cm\n", + "print\" Standard formula used beta=lambda1*D/d \" \n", + "v=100-u\n", + "O=I*u/v\n", + "d=O\n", + "lambda1=d*beta/D*1e8\n", + "print\" Wavelength of light used is\",lambda1, \"Angstrom.\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + " Standard formula used beta=lambda1*D/d \n", + " Wavelength of light used is 6000.0 Angstrom.\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "EXAMPLE NUMBER 1.4 : (Page Number 47)" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import math\n", + "#Given that\n", + "x_n=1.88# fringe separation of nth fringe from central fringe in cm \n", + "N=20# order of fringe\n", + "beta=0.02#fringe width in cm\n", + "D=120# separation between source and eyepiece in cm\n", + "d=0.076# separation between sources in cm \n", + "print \" Standard formula used beta= lambda1*D/d \"\n", + "beta=x_n/N # calculation of angle formed\n", + "lambda1=d*beta/D*1e8 # calculation of Wavelength of light\n", + "print \" Wavelength of light used is\", round(lambda1,4) , \"Angstrom.\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + " Standard formula used beta= lambda1*D/d \n", + " Wavelength of light used is 5953.3333 Angstrom.\n" + ] + } + ], + "prompt_number": 10 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |