summaryrefslogtreecommitdiff
path: root/Applied_Physics_by_S._Mani_Naidu/Chapter6.ipynb
diff options
context:
space:
mode:
authorkinitrupti2017-05-12 18:40:35 +0530
committerkinitrupti2017-05-12 18:40:35 +0530
commitd36fc3b8f88cc3108ffff6151e376b619b9abb01 (patch)
tree9806b0d68a708d2cfc4efc8ae3751423c56b7721 /Applied_Physics_by_S._Mani_Naidu/Chapter6.ipynb
parent1b1bb67e9ea912be5c8591523c8b328766e3680f (diff)
downloadPython-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.tar.gz
Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.tar.bz2
Python-Textbook-Companions-d36fc3b8f88cc3108ffff6151e376b619b9abb01.zip
Revised list of TBCs
Diffstat (limited to 'Applied_Physics_by_S._Mani_Naidu/Chapter6.ipynb')
-rw-r--r--Applied_Physics_by_S._Mani_Naidu/Chapter6.ipynb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Applied_Physics_by_S._Mani_Naidu/Chapter6.ipynb b/Applied_Physics_by_S._Mani_Naidu/Chapter6.ipynb
index 2dcacfe6..8666cfc4 100644
--- a/Applied_Physics_by_S._Mani_Naidu/Chapter6.ipynb
+++ b/Applied_Physics_by_S._Mani_Naidu/Chapter6.ipynb
@@ -306,7 +306,7 @@
},
{
"cell_type": "code",
- "execution_count": 23,
+ "execution_count": 2,
"metadata": {
"collapsed": false
},
@@ -315,7 +315,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
- "polarisability is 2.242e-41 Fm**2\n",
+ " polarisability is 2.242e-41 Fm**2\n",
"radius of electron cloud is 5.864 *10**-11 m\n",
"answer for radius given in the book varies due to rounding off errors\n",
"displacement is 0.7 *10**-16 m\n"
@@ -333,6 +333,7 @@
"epsilon0=8.85*10**-12; \n",
"E=10**6; #electric field(V/m)\n",
"Z=2;\n",
+ "e=1.6*10**-19; #charge(coulomb)\n",
"\n",
"#Calculation\n",
"alphae=epsilon0*(epsilonr-1)/N; #polarisability(Fm**2)\n",
@@ -340,7 +341,7 @@
"d=alphae*E/(Z*e); #displacement(m) \n",
"\n",
"#Result\n",
- "print \"polarisability is\",alpha_e,\"Fm**2\"\n",
+ "print \"polarisability is\",alphae,\"Fm**2\"\n",
"print \"radius of electron cloud is\",round(r*10**11,3),\"*10**-11 m\"\n",
"print \"answer for radius given in the book varies due to rounding off errors\"\n",
"print \"displacement is\",round(d*10**16,1),\"*10**-16 m\""