{ "metadata": { "name": "" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "heading", "level": 1, "metadata": {}, "source": [ "Chapter 1:Semiconductor Marerials and Crystal Properties" ] }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 1.1 Page No.23" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "l1=2.0\n", "l2=3.0\n", "l3=2.0\n", "\n", "r1=1/l1\n", "r2=1/l2\n", "r3=1/l3\n", "m1=6*r1\n", "m2=6*r2\n", "m3=6*r3\n", "\n", "print\"Miller indices of the given plane are\",m1,m2,m3\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Miller indices of the given plane are 3.0 2.0 3.0\n" ] } ], "prompt_number": 2 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 1.2 Page No.24" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "l1=1.0\n", "l2=2.0\n", "l3=0\n", "\n", "r1=1/l1\n", "r2=1/l2\n", "r3=0\n", "m1=2*r1\n", "m2=2*r2\n", "m3=2*r3\n", "\n", "print\"Miller indices of the given plane are\",m1,m2,m3\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Miller indices of the given plane are 2.0 1.0 0\n" ] } ], "prompt_number": 6 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 1.3 Page No.24" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "V=3*(10**22) #kg/m**3, density of SCC lattice\n", "p=(1/3.0)*10**-22\n", "\n", "n=1 #no. of lattice point \n", "a=(n*p)**(1/3.0) #lattice constant\n", "r=(a*10**8/2)\n", "\n", "print\"Lattice constant is\",round(a*10**8,2),\"A\"\n", "print\"radius of simple lattice is\",round(r,2),\"A\"" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Lattice constant is 3.22 A\n", "radius of simple lattice is 1.61 A\n" ] } ], "prompt_number": 17 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 1.4 Page no.25" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "import math\n", "r=1.278 #in Angstrum\n", "AtomicWeight=63.5 #constant\n", "AvogadroNo=6.023*10**23 #constant\n", "\n", "a=4*r*10**-10/math.sqrt(2) #in meter\n", "V=a**3 #in meter**3\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", "print \"Density of crystal is\",round(rho,2),\"Kg/m**3\"" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Density of crystal is 8928.8 Kg/m**3\n" ] } ], "prompt_number": 18 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 1.5 Page no.26" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "n=4 # no. of atoms per unit cell of silicon\n", "AtomicWeight=28 #constant\n", "AvogadroNo=6.021*10**23 #constant\n", "\n", "m=AtomicWeight/AvogadroNo #in gm\n", "m=m/1000 #in Kg\n", "a=5.3 #lattice constant in Angstrum\n", "a=a*10**-10 #in meter\n", "V=a**3 #in meter**3\n", "rho=m*n/V #in Kg/m**3\n", "\n", "print\"Density of silicon crystal is\",round(rho,0),\"Kg/m**3\"" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Density of silicon crystal is 1249.0 Kg/m**3\n" ] } ], "prompt_number": 19 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 1.6 Page no.26" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "a=4.75 #lattice constant in Angstrum\n", "a=a*10**-10 #in meter\n", "\n", "dp=2.31/a**2 #in atom/m**2\n", "dp=dp/10**6 #in atom/mm**2\n", "\n", "print \"Surface density in FCC on (111)Plane is %.e\",dp,\"atoms/mm**2\"" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Surface density in FCC on (111)Plane is %.e 1.02382271468e+13 atoms/mm**2\n" ] } ], "prompt_number": 2 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 1.7 Page no. 28" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\n", "import math\n", "l=1.539 #in Angstrum\n", "theta=22.5 #in degree\n", "n=1 #order unitless\n", "\n", "d=n*l/(2*math.sin(theta*math.pi/180)) #in Angstrum\n", "\n", "print \"Interpolar distance in Angstrum \",round(d,2),\"A\"" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Interpolar distance in Angstrum 2.01 A\n" ] } ], "prompt_number": 28 }, { "cell_type": "heading", "level": 3, "metadata": {}, "source": [ "Example 1.8 Page no. 28" ] }, { "cell_type": "code", "collapsed": false, "input": [ "\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", "l=(2*d*10**-9*sin(theta*math.pi/180.0))/n #in Angstrum\n", "\n", "print \"wavelength of X-rays in Angstrum \",round(l*10**10,3),\"A\"\n" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "wavelength of X-rays in Angstrum 0.584 A\n" ] } ], "prompt_number": 4 }, { "cell_type": "code", "collapsed": false, "input": [], "language": "python", "metadata": {}, "outputs": [] } ], "metadata": {} } ] }