From f4d6e4a3767265014f0daf357bcedf47f1ddf7ef Mon Sep 17 00:00:00 2001 From: Trupti Kini Date: Mon, 13 Mar 2017 23:30:19 +0600 Subject: Added(A)/Deleted(D) following books A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter1.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter10.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter11.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter12.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter13.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter14.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter15.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter2.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter3.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter4.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter5.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter6.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter7.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter8.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/Chapter9.ipynb A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/screenshots/11.png A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/screenshots/22.png A BSc_3rd_Year_Physics_Paper_4_by_Sanjeeva_Rao,_Bhikshmaiah,_Ramakrishna_Reddy,_Ananta_Ramaiah/screenshots/33.png A Modern_physics_for_engineers_by_S.P.Taneja/AppendixB.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/AppendixC.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/AppendixE.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/Chapter18.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter1.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter10.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter11.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter12.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter14.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter15.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter17.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter19.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter2.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter20.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter21.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter23.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter24.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter4.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter5.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter6.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter7.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter8.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chapter9.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/chpater3.ipynb A Modern_physics_for_engineers_by_S.P.Taneja/screenshots/image1.png A Modern_physics_for_engineers_by_S.P.Taneja/screenshots/image2.png A Modern_physics_for_engineers_by_S.P.Taneja/screenshots/image3.png A Solid_State_Physics_by_Dr_M_Arumugam/Chapter1.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter10.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter11.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter12.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter13.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter14.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter2.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter3.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter4.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter5.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter6.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/Chapter8.ipynb A Solid_State_Physics_by_Dr_M_Arumugam/screenshots/22.png A Solid_State_Physics_by_Dr_M_Arumugam/screenshots/33.png A Solid_State_Physics_by_Dr_M_Arumugam/screenshots/44.png --- .../chapter9.ipynb | 849 +++++++++++++++++++++ 1 file changed, 849 insertions(+) create mode 100644 Modern_physics_for_engineers_by_S.P.Taneja/chapter9.ipynb (limited to 'Modern_physics_for_engineers_by_S.P.Taneja/chapter9.ipynb') diff --git a/Modern_physics_for_engineers_by_S.P.Taneja/chapter9.ipynb b/Modern_physics_for_engineers_by_S.P.Taneja/chapter9.ipynb new file mode 100644 index 00000000..771c3614 --- /dev/null +++ b/Modern_physics_for_engineers_by_S.P.Taneja/chapter9.ipynb @@ -0,0 +1,849 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:eab5e28552df3435319f7a568a922a4980f0e1d7df3bbe3b5b33bae52cc8991b" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 9 Special Theory of relativity" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.1 Page no 329" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "d=11.5 #m\n", + "w=5*10**-7\n", + "v=3*10**4 #m/s\n", + "c=3*10**8\n", + "\n", + "#Calculation\n", + "a=2*d*v**2/(w*c**2)\n", + "\n", + "#Result\n", + "print\"Fringe shift is\",a,\"Fringes\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Fringe shift is 0.46 Fringes\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.4 Page no 331" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "l=6371\n", + "v=30*10**3\n", + "c=3.0*10**8\n", + "\n", + "#Calculation\n", + "A=0.5*2*l*(v/c)**2\n", + "\n", + "#Result\n", + "print\"Change in length in the diameter is\",round(A*10**5,2),\"*10**2 m\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Change in length in the diameter is 6.37 *10**2 m\n" + ] + } + ], + "prompt_number": 11 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.5 Page no 331" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "a=60.0\n", + "\n", + "#Calculation\n", + "v=(a**2+1)*(a**2-1)/a**4\n", + "\n", + "#Result\n", + "print\"Maximum speed is\",v,\"c\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Maximum speed is 0.99999992284 c\n" + ] + } + ], + "prompt_number": 17 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.6 Page no 332" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "c=3*10**8\n", + "a=0.95\n", + "b=20\n", + "\n", + "#Calculation\n", + "import math\n", + "t=b*c/(a*c)\n", + "L=math.sqrt(1-a**2)*b\n", + "T=L/a\n", + "\n", + "#Result\n", + "print\"(a) time taken to cover the distance of star from earth\", round(t,2),\"Years\"\n", + "print\"(b) Time taken is\",round(T,2),\"Years\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "(a) time taken to cover the distance of star from earth 21.05 Years\n", + "(b) Time taken is 6.57 Years\n" + ] + } + ], + "prompt_number": 31 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.7 Page no 332" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "L=5 #m\n", + "v=0.6\n", + "c=1\n", + "t=10 #Second\n", + "\n", + "#Calculation\n", + "import math\n", + "L0=L/math.sqrt(1-(v/c)**2)\n", + "T=t*math.sqrt(1-(v/c)**2)\n", + "\n", + "#Result\n", + "print\"(a) Length is\", L0,\"m\"\n", + "print\"(b) Time is\",T,\"Seconds\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "(a) Length is 6.25 m\n", + "(b) Time is 8.0 Seconds\n" + ] + } + ], + "prompt_number": 36 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.8 Page no 332" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "L0=120\n", + "v=0.95 #C\n", + "\n", + "#Calculation\n", + "import math\n", + "L=L0*math.sqrt(1-v**2)\n", + "t=L/v\n", + "T=2*t\n", + "\n", + "#Result\n", + "print\"Time taken is\",round(T,2),\"Years\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Time taken is 78.88 Years\n" + ] + } + ], + "prompt_number": 40 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.10 Page no 333" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "t=24*60\n", + "v=1440\n", + "c=1442.0\n", + "\n", + "#Calculation\n", + "import math\n", + "v=math.sqrt(1-(v/c)**2)\n", + "\n", + "#Result\n", + "print\"Speed is\",round(v,4),\"C\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Speed is 0.0526 C\n" + ] + } + ], + "prompt_number": 44 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.11 Page no 333" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "B=1.5 #T\n", + "v=0.5 #c\n", + "m0=6.1*10**-31 #Kg\n", + "c=3.0*10**8\n", + "\n", + "#Calculation\n", + "r=(m0*v)/(B*e*math.sqrt(1-(v/c)**2))\n", + "\n", + "#Result\n", + "print round(r*10**32,1),\"*10**-4 m\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "7.5 *10**-4 m\n" + ] + } + ], + "prompt_number": 57 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.12 Page no 333" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "m=8.0\n", + "c=3*10**8 #m/s\n", + "v=1\n", + "\n", + "#Calculation\n", + "import math\n", + "v=math.sqrt((v-(v/m)**2)*c**2)\n", + "\n", + "#Result\n", + "print\"Speed of particle is\", round(v*10**-8,3),\"*10**8 m/s\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Speed of particle is 2.976 *10**8 m/s\n" + ] + } + ], + "prompt_number": 63 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.13 Page no 334" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "d=1.5*10**11\n", + "a=1.35*10**3\n", + "c=3.0*10**8\n", + "\n", + "#Calculation\n", + "import math\n", + "E=4*math.pi*d**2*a\n", + "m=E/c**2\n", + "\n", + "#Result\n", + "print\"Decrease in the mass of sun per second is\",round(m*10**-9,1),\"*10**9 Kg\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Decrease in the mass of sun per second is 4.2 *10**9 Kg\n" + ] + } + ], + "prompt_number": 68 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.14 Page no 334" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "v=0.8 #c\n", + "m0=2.5*10**-28\n", + "c=1\n", + "C=3*10**8\n", + "V=2.4*10**8\n", + "\n", + "#Calculation\n", + "import math\n", + "m=m0/(math.sqrt(1-(v/c)**2))\n", + "T=(m-m0)*C**2\n", + "T1=m0*V**2/2.0\n", + "\n", + "#Result\n", + "print \"Kinetic energy is\",T1,\"J\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Kinetic energy is 7.2e-12 J\n" + ] + } + ], + "prompt_number": 73 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.15 Page no 334" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "E=3.2*10**-13 #J\n", + "c=3.0*10**8\n", + "m0=9.1*10**-31\n", + "\n", + "#Calculation\n", + "m=E/c**2\n", + "v=(1-(m0/m)**2)\n", + "\n", + "#Result\n", + "print\"Mass is\", round(m*10**30,2)*10**-30,\"Kg\"\n", + "print\"Speed is\",round(v,3),\"C\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mass is 3.56e-30 Kg\n", + "Speed is 0.934 C\n" + ] + } + ], + "prompt_number": 89 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.16 Page no 335" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "KE=2.5 #Mev\n", + "m=0.511 \n", + "\n", + "#Calculation\n", + "E=KE+m\n", + "\n", + "#Result\n", + "print\"Total energy is\",E,\"Mev\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Total energy is 3.011 Mev\n" + ] + } + ], + "prompt_number": 91 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.17 Page no 335" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "v=2.0\n", + "c=3.8*10**8\n", + "\n", + "#Calculation\n", + "import math\n", + "V=math.sqrt(1-(1/v)**2)\n", + "\n", + "#Result\n", + "print\"Speed of particle is\", round(V,3),\"c\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Speed of particle is 0.866 c\n" + ] + } + ], + "prompt_number": 105 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.18 Page no 335" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "e=13.6*1.6*10**-19 #J\n", + "c=3*10**8\n", + "\n", + "#Calculation\n", + "m=e/c**2\n", + "\n", + "#Result\n", + "print\"Loss of mass is\",round(m*10**35,2)*10**-35,\"Kg\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Loss of mass is 2.42e-35 Kg\n" + ] + } + ], + "prompt_number": 110 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.19 Page no 335" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "E=8*10**-11 #J\n", + "c=3.0*10**8\n", + "\n", + "#Calculation\n", + "m=E/c**2\n", + "\n", + "#Result\n", + "print\"Mass of proton is\", round(m*10**28,2)*10**-23,\"Kg\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Mass of proton is 8.89e-23 Kg\n" + ] + } + ], + "prompt_number": 116 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.20 Page no 336" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "m0=2.5*10**-28\n", + "c=9*10**16\n", + "v=1.5*10**8\n", + "c=3.0*10**8\n", + "e=1.16*10**-13\n", + "\n", + "#Calculation\n", + "import math\n", + "X=math.sqrt(1-(v/c))\n", + "T=(m0*c*((1/X)-1))/e\n", + "\n", + "#Result\n", + "print\"Kinetic energy is\",round(T*10**8,0),\"Mev\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Kinetic energy is 27.0 Mev\n" + ] + } + ], + "prompt_number": 131 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.21 Page no 336" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "m=9.1*10**-31 #Kg\n", + "c=3*10**8\n", + "e=1.6*10**-19\n", + "\n", + "#Calculation\n", + "E=(m*c**2)/e\n", + "\n", + "#Result\n", + "print\"Energy is\",round(E*10**-6,2),\"Mev\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Energy is 0.51 Mev\n" + ] + } + ], + "prompt_number": 143 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.22 Page no 336" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#given\n", + "m0=1.67*10**-27\n", + "v=0.8\n", + "c=3*10**8\n", + "e=1.6*10**-19\n", + "\n", + "#Calculation\n", + "import math\n", + "E=(m0*c**2/(math.sqrt(1-v**2)))/e\n", + "\n", + "#Result\n", + "print\"Energy is\",round(E*10**-6,0),\"Mev\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Energy is 1566.0 Mev\n" + ] + } + ], + "prompt_number": 148 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.23 Page no 337" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "v=2.983*10**8 #m/s\n", + "m0=9.101*10**-31\n", + "v=100\n", + "c=101.0\n", + "C=2.998*10**8\n", + "\n", + "#Calculation\n", + "import math\n", + "V=math.sqrt(v/c)\n", + "V1=V*C\n", + "m=m0/(math.sqrt(1-(v/c)))\n", + "E=m*C**2\n", + "\n", + "#Result\n", + "print\"Energy is\",E\n", + "print\"Velocity is\", round(V1*10**-8,3),\"*10**8 m/s\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Energy is 8.2207806109e-13\n", + "Velocity is 2.983 *10**8 m/s\n" + ] + } + ], + "prompt_number": 158 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.24 Page no 337" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "m0=5*10**-6 #Kg\n", + "C=2.998*10**8\n", + "\n", + "#Calculation\n", + "E=m0*C\n", + "\n", + "#Result\n", + "print\"Energy is\",E*10**-2,\"*10**2 Joules\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Energy is 14.99 *10**2 Joules\n" + ] + } + ], + "prompt_number": 161 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 9.25 Page no 337" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "#Given\n", + "m=1.67*10**-27 #Kg\n", + "c=3*10**8\n", + "e=1.6*10**-19\n", + "\n", + "#Calculation\n", + "E=m*c**2/e\n", + "\n", + "#Result\n", + "print\"Energy is\",round(E*10**-6,0),\"Mev\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Energy is 939.0 Mev\n" + ] + } + ], + "prompt_number": 166 + } + ], + "metadata": {} + } + ] +} \ No newline at end of file -- cgit