summaryrefslogtreecommitdiff
path: root/sample_notebooks/hemanth/hemanth_version_backup
diff options
context:
space:
mode:
authorkinitrupti2017-05-12 18:40:35 +0530
committerkinitrupti2017-05-12 18:40:35 +0530
commitd36fc3b8f88cc3108ffff6151e376b619b9abb01 (patch)
tree9806b0d68a708d2cfc4efc8ae3751423c56b7721 /sample_notebooks/hemanth/hemanth_version_backup
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 'sample_notebooks/hemanth/hemanth_version_backup')
-rwxr-xr-xsample_notebooks/hemanth/hemanth_version_backup/Untitled1.ipynb27
1 files changed, 27 insertions, 0 deletions
diff --git a/sample_notebooks/hemanth/hemanth_version_backup/Untitled1.ipynb b/sample_notebooks/hemanth/hemanth_version_backup/Untitled1.ipynb
new file mode 100755
index 00000000..9684d917
--- /dev/null
+++ b/sample_notebooks/hemanth/hemanth_version_backup/Untitled1.ipynb
@@ -0,0 +1,27 @@
+
+# coding: utf-8
+
+# # UNIT 3 : ELECTRICAL CONDUCTIVITY IN METALS
+
+#
+#
+# # Example number 1 , page number 208
+
+# In[ ]:
+
+#importing module
+from __future__ import division
+import math
+
+
+#Variable declaration
+u= 7*10**-3 # mobility of an electron
+E= 100 # applied field
+
+
+#Calculations
+Vd=u*E
+
+#Result
+print"the drift velocity = %.1f m/s" %Vd
+print"the correct choice is B"