diff options
author | Trupti Kini | 2016-09-26 23:32:22 +0600 |
---|---|---|
committer | Trupti Kini | 2016-09-26 23:32:22 +0600 |
commit | e5a5d2a6500229836195559002a15cb04dc62ed2 (patch) | |
tree | bebe2d2a8fbd3d14f80acdd30ec892aaa4341a0b /Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter2.ipynb | |
parent | adfc20be9660c0164571b563837c8b9f4791925a (diff) | |
download | Python-Textbook-Companions-e5a5d2a6500229836195559002a15cb04dc62ed2.tar.gz Python-Textbook-Companions-e5a5d2a6500229836195559002a15cb04dc62ed2.tar.bz2 Python-Textbook-Companions-e5a5d2a6500229836195559002a15cb04dc62ed2.zip |
Added(A)/Deleted(D) following books
M Basic_Electronics_Electronics_Engineering_by_J_B_Gupta/README.txt
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter10_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter11_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter12_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter13_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter14_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter15_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter16_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter2_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter3_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter4_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter5_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter6_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter7_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/Chapter8_1.ipynb
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2correlationCoeff_1.png
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2expansionofSignal_1.png
M Modern_Digital_And_Analog_Communication_System_by_B._P._Lathi/screenshots/2timeInvertedsignal_1.png
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter10_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter11_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter15_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter1_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter2_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter3_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter5_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter6_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter7_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter8_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/Chapter9_1.ipynb
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/ctftch1.png
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/fourierTransch1.png
M Principle_of_Communication_Engineering_by_A._Singh_and_A._K._Chhabra/screenshots/modulatedWaveChap3_1.png
M Principles_of_Electronics_____by_V.K._Mehta_and_Rohit_Mehta/README.txt
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter10_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter11_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter12_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter1_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter2_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter3_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter4_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter5_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter6_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter7_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter8_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/Chapter9_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/chapter13_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/chapter14_1.ipynb
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/screenshots/Chapter10.png
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/screenshots/Chapter1_1.png
M Solid_State_Electronic_Devices_by_D.K_Bhattacharya_,_Rajnish_Sharma/screenshots/Chapter5.png
M Solutions_to_Problems_in_Applied_Mechanics_by_A._N._Gobby/README.txt
M Theory_of_Alternating_Current_Machinery_by_A._S._Langsdorf/README.txt
M Thermodynamics_by_Gaggioli_and_Obert/Ch18.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/Ch8.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch1.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch10.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch11.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch12.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch13.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch14.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch15.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch16.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch17.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch2.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch3.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch5.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch7.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/ch9.ipynb
M Thermodynamics_by_Gaggioli_and_Obert/screenshots/changeInMoisture14.png
M Thermodynamics_by_Gaggioli_and_Obert/screenshots/degreeOfSaturation14.png
M Thermodynamics_by_Gaggioli_and_Obert/screenshots/humidityratio14.png
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter1.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter10.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter11.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter12.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter14.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter15.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter16.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter2.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter3.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter4.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter5.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter6.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter7.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter9.ipynb
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/screenshots/1.png
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/screenshots/2.png
A Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/screenshots/3.png
M f_by_134/1_An_overview_of_C++.ipynb
A f_by_134/1_An_overview_of_C++_1.ipynb
A f_by_134/screenshots/anshul.png
A f_by_134/screenshots/anshul_1.png
A f_by_134/screenshots/anshul_2.png
M f_by_134/screenshots/chapter14_eg3.png
M f_by_134/screenshots/chapter14_eg6.png
M f_by_134/screenshots/chapter14_eg6_1.png
M f_by_df/ashvani.ipynb
M f_by_df/chapter03_16.ipynb
M f_by_df/chapter03_16_1.ipynb
M f_by_df/screenshots/1.png
M f_by_df/screenshots/2.png
M f_by_df/screenshots/3.png
M f_by_df/screenshots/chapter14_eg10.png
M f_by_df/screenshots/chapter14_eg3.png
M f_by_df/screenshots/chapter14_eg6.png
M f_by_df/screenshots/image.png
M f_by_df/screenshots/image_1.png
M f_by_df/screenshots/image_2.png
M sample_notebooks/AditiMalik/Chapter6.ipynb
M sample_notebooks/IshitaGupta/Chapter12.ipynb
M sample_notebooks/MeenaChandrupatla/Chapter2_Gases_2.ipynb
M sample_notebooks/RONAKBANSAL/chapter_1.ipynb
M sample_notebooks/SufiyanSiddique/Chapter2.ipynb
M sample_notebooks/asmitaasmita/1_An_overview_of_C++.ipynb
M sample_notebooks/asmitaasmita/1_An_overview_of_C++_1.ipynb
A sample_notebooks/asmitaasmita/1_An_overview_of_C++_2.ipynb
M sample_notebooks/chayas/DimensionsSystemUnits.ipynb
Diffstat (limited to 'Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter2.ipynb')
-rw-r--r-- | Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter2.ipynb | 247 |
1 files changed, 247 insertions, 0 deletions
diff --git a/Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter2.ipynb b/Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter2.ipynb new file mode 100644 index 00000000..3996a39d --- /dev/null +++ b/Unified_Physics_by_S.L._Gupta,_Sanjeev_Gupta/Chapter2.ipynb @@ -0,0 +1,247 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 2: Molecular Spectroscopy" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example number 1, Page number 56" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "energy is 4.75 *10**-4 eV\n", + "angular velocity is 10.21 *10**11 rad/sec\n", + "answer in the book varies due to rounding off errors\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "h=6.62*10**-34; #planck's constant\n", + "I=1.46*10**-46; #moment of inertia(kg-m**2)\n", + "e=1.6*10**-19; #charge(coulomb)\n", + "\n", + "#Calculations\n", + "Er=2*(h**2)/(8*math.pi**2*I*e); #energy(eV)\n", + "omega=math.sqrt(2*Er*e/I); #angular velocity(rad/sec)\n", + "\n", + "#Result\n", + "print \"energy is\",round(Er*10**4,2),\"*10**-4 eV\"\n", + "print \"angular velocity is\",round(omega*10**-11,2),\"*10**11 rad/sec\"\n", + "print \"answer in the book varies due to rounding off errors\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example number 2, Page number 62" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "frequency of vibration is 2.04 *10**13 Hertz\n", + "spacing between energy levels is 8.44 *10**-2 eV\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "h=6.63*10**-34; #planck's constant\n", + "K=187; #force constant(N/m)\n", + "mew=1.14*10**-26; #reduced mass(kg)\n", + "c=6.242*10**18; #conversion factor\n", + "\n", + "#Calculations\n", + "vnew=math.sqrt(K/mew)/(2*math.pi); #frequency of vibration(Hertz)\n", + "delta_E=h*vnew; #spacing between energy levels(J)\n", + "delta_E=delta_E*c; #spacing between energy levels(eV)\n", + "\n", + "#Result\n", + "print \"frequency of vibration is\",round(vnew/10**13,2),\"*10**13 Hertz\"\n", + "print \"spacing between energy levels is\",round(delta_E*10**2,2),\"*10**-2 eV\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example number 3, Page number 68" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "wavelength of antistokes line 5401 angstrom\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "lamda0=5460*10**-8; #wavelength(cm)\n", + "lamdas=5520*10**-8; #wavelength(cm)\n", + "\n", + "#Calculations\n", + "new0=1/lamda0; #frequency(cm-1)\n", + "news=1/lamdas; #frequency(cm-1)\n", + "delta_new=new0-news; #difference in frequency(cm-1)\n", + "new_as=delta_new+new0; #frequency of anti-stokes line(cm-1)\n", + "lamda_as=1*10**8/new_as; #wavelength of antistokes line(angstrom)\n", + "\n", + "#Result\n", + "print \"wavelength of antistokes line\",int(lamda_as),\"angstrom\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example number 4, Page number 68" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "raman shift is 459.2 *10**2 m-1\n", + "wavelength of antistokes line 4272.5 angstrom\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "lamda0=4358*10**-10; #wavelength(m)\n", + "lamda1=4447*10**-10; #wavelength(m)\n", + "\n", + "#Calculations\n", + "new0=1/lamda0; #frequency(m-1)\n", + "new1=1/lamda1; #frequency(m-1)\n", + "rs=new0-new1; #raman shift(m-1)\n", + "new_as=new0+rs; #frequency of anti-stokes line(cm-1)\n", + "lamda_as=1*10**10/new_as; #wavelength of antistokes line(angstrom)\n", + "\n", + "#Result\n", + "print \"raman shift is\",round(rs/10**2,1),\"*10**2 m-1\"\n", + "print \"wavelength of antistokes line\",round(lamda_as,1),\"angstrom\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example number 5, Page number 71" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "ratio of wave numbers is 1 : 0.52 : 0.31\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration \n", + "K1=4141.3; #wave number of HF(cm-1)\n", + "K2=2988.9; #wave number of HCl(cm-1)\n", + "K3=2309.5; #wave number of HI(cm-1)\n", + "c=1; #assume as common factor in ratio\n", + "\n", + "#Calculations\n", + "a=(K2/K1)**2; #ratio of wave numbers of HF and HCl\n", + "b=(K3/K1)**2; #ratio of wave numbers of HF and HI\n", + "\n", + "#Result\n", + "print \"ratio of wave numbers is\",c,\":\",round(a,2),\":\",round(b,2)" + ] + } + ], + "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 +} |