summaryrefslogtreecommitdiff
path: root/modern_physics_by_Satish_K._Gupta/chap4.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-06-02 23:30:55 +0600
committerTrupti Kini2016-06-02 23:30:55 +0600
commit0a159e71d5ccd8d74b2258402fac51546a0ef6d0 (patch)
treece3273f0c1b8528390e4757c6edad79d124b32e0 /modern_physics_by_Satish_K._Gupta/chap4.ipynb
parentf00df1f2a861a4359916ebe0333569837f1cb894 (diff)
downloadPython-Textbook-Companions-0a159e71d5ccd8d74b2258402fac51546a0ef6d0.tar.gz
Python-Textbook-Companions-0a159e71d5ccd8d74b2258402fac51546a0ef6d0.tar.bz2
Python-Textbook-Companions-0a159e71d5ccd8d74b2258402fac51546a0ef6d0.zip
Added(A)/Deleted(D) following books
A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/README.txt A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch1.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch10.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch11.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch12.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch13.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch15.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch17.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch18.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch19.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch2.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch20.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch3.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch4.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch5.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch6.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch7.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/ch8.ipynb A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/screenshots/1.png A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/screenshots/2.png A Fluid_Mechanics_For_Chemical_Engineers_by_N._D._Nevers/screenshots/3.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter2_3.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter3_3.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter4_3.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter6_3.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter7_3.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter8_3.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/Chapter9_3.ipynb A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter2_3.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter3_3.png A High_Voltage_Engineering_by_V_Kamaraju_,_M_S_Naidu/screenshots/chapter4_3.png A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/chapter2.ipynb A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/chapter3.ipynb A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/chapter4.ipynb A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/chapter5.ipynb A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/chapter6.ipynb A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/chapter7.ipynb A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/chapter8.ipynb A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/chapter9.ipynb A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/screenshots/1.png A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/screenshots/2.png A Principles_of_Data_structures_using_C_and_C++_by_Vinu_V_Das/screenshots/3.png A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/README.txt A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/ch1.ipynb A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/ch2.ipynb A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/ch3.ipynb A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/ch4.ipynb A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/ch5.ipynb A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/ch6.ipynb A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/ch7.ipynb A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/screenshots/1.png A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/screenshots/2.png A Stoichiometry_by_B._I._Bhatt_And__S._B._Thakore/screenshots/3.png A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch1.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch11.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch12.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch13.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch14.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch15.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch16.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch17.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch18.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch19.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch2.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch3.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch4.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch5.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch6.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch7.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch8.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/ch9.ipynb A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/screenshots/1.png A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/screenshots/2.png A Thermodynamics_for_chemists_by_Glasstone_&_Samuel/screenshots/3.png A modern_physics_by_Satish_K._Gupta/chap1.ipynb A modern_physics_by_Satish_K._Gupta/chap10.ipynb A modern_physics_by_Satish_K._Gupta/chap11.ipynb A modern_physics_by_Satish_K._Gupta/chap12.ipynb A modern_physics_by_Satish_K._Gupta/chap13.ipynb A modern_physics_by_Satish_K._Gupta/chap14.ipynb A modern_physics_by_Satish_K._Gupta/chap15.ipynb A modern_physics_by_Satish_K._Gupta/chap16.ipynb A modern_physics_by_Satish_K._Gupta/chap17.ipynb A modern_physics_by_Satish_K._Gupta/chap18.ipynb A modern_physics_by_Satish_K._Gupta/chap19.ipynb A modern_physics_by_Satish_K._Gupta/chap2.ipynb A modern_physics_by_Satish_K._Gupta/chap20.ipynb A modern_physics_by_Satish_K._Gupta/chap21.ipynb A modern_physics_by_Satish_K._Gupta/chap22.ipynb A modern_physics_by_Satish_K._Gupta/chap23.ipynb A modern_physics_by_Satish_K._Gupta/chap25.ipynb A modern_physics_by_Satish_K._Gupta/chap26.ipynb A modern_physics_by_Satish_K._Gupta/chap27.ipynb A modern_physics_by_Satish_K._Gupta/chap28.ipynb A modern_physics_by_Satish_K._Gupta/chap3.ipynb A modern_physics_by_Satish_K._Gupta/chap30.ipynb A modern_physics_by_Satish_K._Gupta/chap31.ipynb A modern_physics_by_Satish_K._Gupta/chap32.ipynb A modern_physics_by_Satish_K._Gupta/chap33.ipynb A modern_physics_by_Satish_K._Gupta/chap34.ipynb A modern_physics_by_Satish_K._Gupta/chap35.ipynb A modern_physics_by_Satish_K._Gupta/chap36.ipynb A modern_physics_by_Satish_K._Gupta/chap37.ipynb A modern_physics_by_Satish_K._Gupta/chap4.ipynb A modern_physics_by_Satish_K._Gupta/chap5.ipynb A modern_physics_by_Satish_K._Gupta/chap6.ipynb A modern_physics_by_Satish_K._Gupta/chap7.ipynb A modern_physics_by_Satish_K._Gupta/chap8.ipynb A modern_physics_by_Satish_K._Gupta/chap9.ipynb A modern_physics_by_Satish_K._Gupta/chap_29.ipynb A modern_physics_by_Satish_K._Gupta/screenshots/image1.png A modern_physics_by_Satish_K._Gupta/screenshots/image22.png A modern_physics_by_Satish_K._Gupta/screenshots/image33.png
Diffstat (limited to 'modern_physics_by_Satish_K._Gupta/chap4.ipynb')
-rw-r--r--modern_physics_by_Satish_K._Gupta/chap4.ipynb397
1 files changed, 397 insertions, 0 deletions
diff --git a/modern_physics_by_Satish_K._Gupta/chap4.ipynb b/modern_physics_by_Satish_K._Gupta/chap4.ipynb
new file mode 100644
index 00000000..488631fb
--- /dev/null
+++ b/modern_physics_by_Satish_K._Gupta/chap4.ipynb
@@ -0,0 +1,397 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:1087fb8dbcb5b183b8a1d36b431412b33d35209d5f6a3a237469594e817213fb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 4 Gauss theorem"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.1 Page no 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "E=25 #V/m\n",
+ "s=150*10**-4 #m**2\n",
+ "a=60 #degree\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "A=E*s*math.cos(a*3.14/180.0)\n",
+ "\n",
+ "#Result\n",
+ "print\"Flux of the electric field is\",round(A,4),\"Nm**2/C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Flux of the electric field is 0.1877 Nm**2/C\n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.2 Page no 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "E=3*10**3 #N/C\n",
+ "S=10**-2 #m**2\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "a=E*S\n",
+ "A=E*S*math.cos(60*3.14/180.0)\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Flux of the field is\",a,\"Nm**2/C\"\n",
+ "print\"(b) Flux through the square is\", round(A,0),\"Nm**2/C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Flux of the field is 30.0 Nm**2/C\n",
+ "(b) Flux through the square is 15.0 Nm**2/C\n"
+ ]
+ }
+ ],
+ "prompt_number": 10
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.3 Page no 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "e=8.854*10**-12 #C**2/N/m**2\n",
+ "q=1 #C\n",
+ "\n",
+ "#Calculation\n",
+ "a=q/e\n",
+ "\n",
+ "#Result\n",
+ "print\"Number of electric lines are\",round(a*10**-11,3)*10**11"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of electric lines are 1.129e+11\n"
+ ]
+ }
+ ],
+ "prompt_number": 14
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.4 Page no 88"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=8*10**3 #Nm**2/C\n",
+ "e=8.854*10**-12 #C**2/N/m**2\n",
+ "\n",
+ "#Calculation\n",
+ "q=a*e\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Net charge inside the box is\",q,\"C\"\n",
+ "print\"(b) If the net outward flux is zero,we can't conclude that the charge inside the box is zero.\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Net charge inside the box is 7.0832e-08 C\n",
+ "(b) If the net outward flux is zero,we can't conclude that the charge inside the box is zero.\n"
+ ]
+ }
+ ],
+ "prompt_number": 18
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.5 Page no 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q=10**-5\n",
+ "e=8.854*10**-12\n",
+ "\n",
+ "#Calculation\n",
+ "a=q/(6.0*e)\n",
+ "\n",
+ "#Result\n",
+ "print\"Magnitude of electric flux is\", round(a*10**-5,2),\"*10**5 Nm**2/C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Magnitude of electric flux is 1.88 *10**5 Nm**2/C\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.6 Page no 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "E=9*10**4 #N/C\n",
+ "r=0.04 #m\n",
+ "m=9*10**9\n",
+ "\n",
+ "#Calculation\n",
+ "l=E*r/(2.0*m)\n",
+ "\n",
+ "#Result\n",
+ "print\"Linear charge density is\", l,\"C/m\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Linear charge density is 2e-07 C/m\n"
+ ]
+ }
+ ],
+ "prompt_number": 26
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.7 Page no 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=5*10**-6 #C/m**2\n",
+ "e=8.854*10**-12 #C**2/Nm**2\n",
+ "r=0.1 #m\n",
+ "a1=60 #Degree\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "A=(a*math.pi*r**2*math.cos(a1*3.14/180.0))/(2.0*e)\n",
+ "\n",
+ "#Result\n",
+ "print\"Electric flux is\", round(A*10**-3,2),\"*10**3 N m**2/C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Electric flux is 4.44 *10**3 N m**2/C\n"
+ ]
+ }
+ ],
+ "prompt_number": 31
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.8 Page no 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=17*10**-22 #C/m**2\n",
+ "e=8.854*10**-12\n",
+ "\n",
+ "#Calculation\n",
+ "E=a/e\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Electric field to the left of the plate is zero\"\n",
+ "print\"(b) Electric field to the right of the plate is zero\"\n",
+ "print\"(c) Electric field between the plates is\",round(E*10**10,2)*10**-10,\"N/C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Electric field to the left of the plate is zero\n",
+ "(b) Electric field to the right of the plate is zero\n",
+ "(c) Electric field between the plates is 1.92e-10 N/C\n"
+ ]
+ }
+ ],
+ "prompt_number": 38
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.9 Page no 89"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q=1.6*10**-7 #C\n",
+ "R=0.12 #m\n",
+ "m=9*10**9\n",
+ "r=0.18\n",
+ "\n",
+ "#Calculation\n",
+ "E=(m*q)/R**2\n",
+ "E1=(m*q)/r**2\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) ELectric field inside the sphere is zero\"\n",
+ "print\"(b) Electric field outside the sphere is\",E,\"N/C\"\n",
+ "print\"(c) Electric field at a point 18 cm from the centre is\", round(E1*10**-4,2),\"*10**4 N/C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) ELectric field inside the sphere is zero\n",
+ "(b) Electric field outside the sphere is 100000.0 N/C\n",
+ "(c) Electric field at a point 18 cm from the centre is 4.44 *10**4 N/C\n"
+ ]
+ }
+ ],
+ "prompt_number": 51
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 4.11 Page no 90"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "e=50\n",
+ "V=0.2\n",
+ "m=9*10**9\n",
+ "\n",
+ "#Calculation\n",
+ "q=e*V**2/m\n",
+ "\n",
+ "#Result\n",
+ "print\"Charge contained in the sphere is\",round(q*10**10,2)*10**-10,\"C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Charge contained in the sphere is 2.22e-10 C\n"
+ ]
+ }
+ ],
+ "prompt_number": 56
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file