summaryrefslogtreecommitdiff
path: root/Fundamental_of_Electronics_Devices/Ch1.ipynb
diff options
context:
space:
mode:
authordebashisdeb2014-06-20 15:42:42 +0530
committerdebashisdeb2014-06-20 15:42:42 +0530
commit83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Fundamental_of_Electronics_Devices/Ch1.ipynb
parenta78126bbe4443e9526a64df9d8245c4af8843044 (diff)
downloadPython-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.gz
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.bz2
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.zip
removing problem statements
Diffstat (limited to 'Fundamental_of_Electronics_Devices/Ch1.ipynb')
-rw-r--r--Fundamental_of_Electronics_Devices/Ch1.ipynb46
1 files changed, 0 insertions, 46 deletions
diff --git a/Fundamental_of_Electronics_Devices/Ch1.ipynb b/Fundamental_of_Electronics_Devices/Ch1.ipynb
index 34ecc51b..78c644f7 100644
--- a/Fundamental_of_Electronics_Devices/Ch1.ipynb
+++ b/Fundamental_of_Electronics_Devices/Ch1.ipynb
@@ -27,17 +27,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 1.1\n",
- "#Find the miller indices for a plane.\n",
"\n",
- "#Given\n",
- "#Length of intercept\n",
"l1=2.0\n",
"l2=3.0\n",
"l3=2.0\n",
"\n",
- "#Calcuation\n",
- "#reciprocal of intercept\n",
"r1=1/l1\n",
"r2=1/l2\n",
"r3=1/l3\n",
@@ -45,7 +39,6 @@
"m2=6*r2\n",
"m3=6*r3\n",
"\n",
- "#Result\n",
"print\"Miller indices of the given plane are\",m1,m2,m3\n"
],
"language": "python",
@@ -73,17 +66,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 1.2\n",
- "#Find the miller indices for a plane.\n",
"\n",
- "#Given\n",
- "#Length of intercept\n",
"l1=1.0\n",
"l2=2.0\n",
"l3=0\n",
"\n",
- "#Calcuation\n",
- "#reciprocal of intercept\n",
"r1=1/l1\n",
"r2=1/l2\n",
"r3=0\n",
@@ -91,7 +78,6 @@
"m2=2*r2\n",
"m3=2*r3\n",
"\n",
- "#Result\n",
"print\"Miller indices of the given plane are\",m1,m2,m3\n"
],
"language": "python",
@@ -119,19 +105,14 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 1.3\n",
- "#Obtain lattice constant and radius of the atom.\n",
"\n",
- "#Given\n",
"V=3*(10**22) #kg/m**3, density of SCC lattice\n",
"p=(1/3.0)*10**-22\n",
"\n",
- "#Calculation\n",
"n=1 #no. of lattice point \n",
"a=(n*p)**(1/3.0) #lattice constant\n",
"r=(a*10**8/2)\n",
"\n",
- "#Result\n",
"print\"Lattice constant is\",round(a*10**8,2),\"A\"\n",
"print\"radius of simple lattice is\",round(r,2),\"A\""
],
@@ -161,26 +142,19 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Exampe 1.4\n",
- "#Determine the density of crystal\n",
"\n",
- "#given data\n",
"import math\n",
"r=1.278 #in Angstrum\n",
"AtomicWeight=63.5 #constant\n",
"AvogadroNo=6.023*10**23 #constant\n",
"\n",
- "#Calculation\n",
- "#For FCC structure a=4*r/math.sqrt(2)\n",
"a=4*r*10**-10/math.sqrt(2) #in meter\n",
"V=a**3 #in meter**3\n",
- "#mass of one atom = m\n",
"m=AtomicWeight/AvogadroNo #in gm\n",
"m=m/1000 #in Kg\n",
"n=4 # no. of atoms per unit cell for FCC structure\n",
"rho=m*n/V #in Kg/m**3\n",
"\n",
- "#Result\n",
"print \"Density of crystal is\",round(rho,2),\"Kg/m**3\""
],
"language": "python",
@@ -208,15 +182,11 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 1.5\n",
- "#What is Density of silicon crystal .\n",
"\n",
- "#given data\n",
"n=4 # no. of atoms per unit cell of silicon\n",
"AtomicWeight=28 #constant\n",
"AvogadroNo=6.021*10**23 #constant\n",
"\n",
- "#calculation\n",
"m=AtomicWeight/AvogadroNo #in gm\n",
"m=m/1000 #in Kg\n",
"a=5.3 #lattice constant in Angstrum\n",
@@ -224,7 +194,6 @@
"V=a**3 #in meter**3\n",
"rho=m*n/V #in Kg/m**3\n",
"\n",
- "#result\n",
"print\"Density of silicon crystal is\",round(rho,0),\"Kg/m**3\""
],
"language": "python",
@@ -252,18 +221,13 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 1.5\n",
- "#What is Surface density in FCC .\n",
"\n",
- "#given data\n",
"a=4.75 #lattice constant in Angstrum\n",
"a=a*10**-10 #in meter\n",
"\n",
- "#Calculation\n",
"dp=2.31/a**2 #in atom/m**2\n",
"dp=dp/10**6 #in atom/mm**2\n",
"\n",
- "#Result\n",
"print \"Surface density in FCC on (111)Plane is %.e\",dp,\"atoms/mm**2\""
],
"language": "python",
@@ -291,19 +255,14 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 1.7\n",
- "#find the Interpolar distance\n",
"\n",
- "#given data\n",
"import math\n",
"l=1.539 #in Angstrum\n",
"theta=22.5 #in degree\n",
"n=1 #order unitless\n",
"\n",
- "#Calculation\n",
"d=n*l/(2*math.sin(theta*math.pi/180)) #in Angstrum\n",
"\n",
- "#result\n",
"print \"Interpolar distance in Angstrum \",round(d,2),\"A\""
],
"language": "python",
@@ -331,20 +290,15 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "#Example 1.8\n",
- "#Find the wavelength of X-rays \n",
"\n",
- "#given data\n",
"import math\n",
"\n",
"theta=16.8/2.0 #in degree\n",
"n=2.0 #order unitless\n",
"d=0.4 #in nm\n",
"\n",
- "#Calculation\n",
"l=(2*d*10**-9*sin(theta*math.pi/180.0))/n #in Angstrum\n",
"\n",
- "#result\n",
"print \"wavelength of X-rays in Angstrum \",round(l*10**10,3),\"A\"\n"
],
"language": "python",