summaryrefslogtreecommitdiff
path: root/modern_physics_by_Satish_K._Gupta/chap1.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2016-06-02 23:30:55 +0600
committerTrupti Kini2016-06-02 23:30:55 +0600
commit17e0dd59b78eb116006038ea64da8f7148da9125 (patch)
tree66402d8ba484960e8f913af22a2d93fff7fb2778 /modern_physics_by_Satish_K._Gupta/chap1.ipynb
parent5b6fb21462221711dd740ab4a57b303b3c4660a1 (diff)
downloadPython-Textbook-Companions-17e0dd59b78eb116006038ea64da8f7148da9125.tar.gz
Python-Textbook-Companions-17e0dd59b78eb116006038ea64da8f7148da9125.tar.bz2
Python-Textbook-Companions-17e0dd59b78eb116006038ea64da8f7148da9125.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/chap1.ipynb')
-rw-r--r--modern_physics_by_Satish_K._Gupta/chap1.ipynb462
1 files changed, 462 insertions, 0 deletions
diff --git a/modern_physics_by_Satish_K._Gupta/chap1.ipynb b/modern_physics_by_Satish_K._Gupta/chap1.ipynb
new file mode 100644
index 00000000..36a74a3e
--- /dev/null
+++ b/modern_physics_by_Satish_K._Gupta/chap1.ipynb
@@ -0,0 +1,462 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:1a5424f1a289fa2ea02065679fbda8bfa43c7eec69070520139086e97a973104"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter 1 Coulombs Law"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.1 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q=-3*10**-7 #C\n",
+ "e=-1.6*10**-19 #C\n",
+ "\n",
+ "#Calculation\n",
+ "n=q/e\n",
+ "\n",
+ "#Result\n",
+ "print\"Number of electrons transferred from wool to polythene is\", n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Number of electrons transferred from wool to polythene is 1.875e+12\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.2 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "m=3.11 #g\n",
+ "Z=29\n",
+ "A=63.5 \n",
+ "N=6.023*10**23\n",
+ "e=1.6*10**-19\n",
+ "\n",
+ "#Calculation\n",
+ "n=(N*m)/A\n",
+ "n1=n*Z\n",
+ "q=n1*e\n",
+ "\n",
+ "#Result\n",
+ "print\"Total positive or negative charge is\", round(q*10**-5,2),\"*10**5 C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Total positive or negative charge is 1.37 *10**5 C\n"
+ ]
+ }
+ ],
+ "prompt_number": 23
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.3 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=2*10**-7\n",
+ "q2=3*10**-7\n",
+ "r=0.3 #m\n",
+ "a=9*10**9\n",
+ "\n",
+ "#Calculation\n",
+ "F=(a*q1*q2)/r**2\n",
+ "\n",
+ "#Result\n",
+ "print\"Force between two small charged spheres is\", F*10**3,\"*10**-3\",\"N(repulsive\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Force between two small charged spheres is 6.0 *10**-3 N(repulsive\n"
+ ]
+ }
+ ],
+ "prompt_number": 11
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.4 page no. 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "F=3.7*10**-9 #N\n",
+ "r=5*10**-10 #m\n",
+ "a=9*10**9\n",
+ "q1=1.6*10**-19\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "n=math.sqrt(F*r**2/(a*q1**2))\n",
+ "\n",
+ "#Result\n",
+ "print\"number of electrons is\", round(n,0)"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "number of electrons is 2.0\n"
+ ]
+ }
+ ],
+ "prompt_number": 16
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.5 Page no 12"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=0.4*10**-6 #C\n",
+ "q2=0.8*10**-6 #C\n",
+ "F12=0.2 #N\n",
+ "a=9.0*10**9\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "r=math.sqrt((a*q1*q2)/F12)\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Distance between two spheres is\", r,\"m\"\n",
+ "print\"(b) Force on charge q2 due to q1 is\",F12,\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Distance between two spheres is 0.12 m\n",
+ "(b) Force on charge q2 due to q1 is 0.2 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 32
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.6 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=5*10**-8 #C\n",
+ "m1=8*10**-3 #Kg\n",
+ "a=9*10**9\n",
+ "r=0.05 #m\n",
+ "\n",
+ "#Calculation\n",
+ "q2=m1*9.8*r**2/(a*q1)\n",
+ "\n",
+ "#Result\n",
+ "print\"Charge q2 is\", round(q2*10**7,2)*10**-7,\"C(positive)\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Charge q2 is 4.36e-07 C(positive)\n"
+ ]
+ }
+ ],
+ "prompt_number": 40
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.7 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=6.5*10**-7 #C\n",
+ "q2=6.5*10**-7\n",
+ "r=0.5 #m\n",
+ "a=9*10**9\n",
+ "K=80.0\n",
+ "\n",
+ "#Calculation\n",
+ "Fair=a*q1*q2/r**2\n",
+ "r1=0.5/2.0\n",
+ "F1=a*4*q1*q2/r1**2\n",
+ "Fwater=Fair/K\n",
+ "\n",
+ "#Result\n",
+ "print\"(a) Mutual force of electrostatic repulsion is\", Fair*10**2,\"*10**-2 N\"\n",
+ "print\"(b) (i) Force of repulsion is\", round(F1,4),\"N\"\n",
+ "print \"(ii) Force of repulsion is\",round(Fwater*10**4,1),\"*10**-4 N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "(a) Mutual force of electrostatic repulsion is 1.521 *10**-2 N\n",
+ "(b) (i) Force of repulsion is 0.2434 N\n",
+ "(ii) Force of repulsion is 1.9 *10**-4 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 57
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.8 Page no 13"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "q1=6.5*10**-7 #C\n",
+ "r=0.05 #m\n",
+ "a=9*10**9\n",
+ "r1=0.5\n",
+ "\n",
+ "#Calculation\n",
+ "q11=q1/2.0\n",
+ "q21=(q1+q11)/2.0\n",
+ "F=(a*q11*q21)/r1**2\n",
+ "\n",
+ "#Result\n",
+ "print\"New force of repulsion between A and B is\", round(F*10**3,3),\"*10**-3 N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "New force of repulsion between A and B is 5.704 *10**-3 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 64
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.10 Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "a=9.0*10**9\n",
+ "r=0.2\n",
+ "m=9.8*10**-3\n",
+ "a1=0.1\n",
+ "a2=0.5\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "a11=m*(a1/(math.sqrt(a2**2-a1**2)))\n",
+ "q=math.sqrt((a11*r**2)/a)\n",
+ "\n",
+ "#Result\n",
+ "print\"Charge on each ball is\", round(q*10**8,2)*10**-6,\"C\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Charge on each ball is 9.43e-06 C\n"
+ ]
+ }
+ ],
+ "prompt_number": 100
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.12 Page no 14"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "qa=10**-5 #C\n",
+ "qb=5*10**-6 #C\n",
+ "qc=-5*10**-6 #C\n",
+ "r=0.1 #m\n",
+ "a=9*10**9\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Fab=(a*qa*qb)/r**2\n",
+ "Fac=Fab\n",
+ "F=math.sqrt(Fab**2+Fac**2+(2*Fab*Fac*math.cos(120*3.14/180.0)))\n",
+ "\n",
+ "#Result\n",
+ "print\"Resultant force is\", round(F,0),\"N\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resultant force is 45.0 N\n"
+ ]
+ }
+ ],
+ "prompt_number": 75
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Example 1.13 Page no 15"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#Given\n",
+ "qa=1\n",
+ "qb=100\n",
+ "ab=10\n",
+ "a=9*10**9\n",
+ "qd=75\n",
+ "a1=5\n",
+ "\n",
+ "#Calculation\n",
+ "import math\n",
+ "Fab=(a*qa*qb)/ab**2\n",
+ "Fac=Fab\n",
+ "Fac1=(a*qa*qd)/(ab**2-a1**2)\n",
+ "Fx=Fab*math.cos(60*3.14/180.0)+Fac1*math.cos(60*3.14/180.0)\n",
+ "Fy=Fac\n",
+ "F=math.sqrt(Fx**2+Fy**2)\n",
+ "B=Fy/Fx\n",
+ "B1=math.atan(B)*180/3.14\n",
+ "\n",
+ "#Result\n",
+ "print\"Resultant force on charge qa is inclined at\", round(B1,0),\"Degree\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Resultant force on charge qa is inclined at 45.0 Degree\n"
+ ]
+ }
+ ],
+ "prompt_number": 90
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file