summaryrefslogtreecommitdiff
path: root/Engineering_Physics_by_H_K_Malik/17-BAND_THEORY_OF_SOLIDS.ipynb
diff options
context:
space:
mode:
authorPrashant S2020-04-14 10:25:32 +0530
committerGitHub2020-04-14 10:25:32 +0530
commit06b09e7d29d252fb2f5a056eeb8bd1264ff6a333 (patch)
tree2b1df110e24ff0174830d7f825f43ff1c134d1af /Engineering_Physics_by_H_K_Malik/17-BAND_THEORY_OF_SOLIDS.ipynb
parentabb52650288b08a680335531742a7126ad0fb846 (diff)
parent476705d693c7122d34f9b049fa79b935405c9b49 (diff)
downloadall-scilab-tbc-books-ipynb-master.tar.gz
all-scilab-tbc-books-ipynb-master.tar.bz2
all-scilab-tbc-books-ipynb-master.zip
Merge pull request #1 from prashantsinalkar/masterHEADmaster
Initial commit
Diffstat (limited to 'Engineering_Physics_by_H_K_Malik/17-BAND_THEORY_OF_SOLIDS.ipynb')
-rw-r--r--Engineering_Physics_by_H_K_Malik/17-BAND_THEORY_OF_SOLIDS.ipynb216
1 files changed, 216 insertions, 0 deletions
diff --git a/Engineering_Physics_by_H_K_Malik/17-BAND_THEORY_OF_SOLIDS.ipynb b/Engineering_Physics_by_H_K_Malik/17-BAND_THEORY_OF_SOLIDS.ipynb
new file mode 100644
index 0000000..51a4fa1
--- /dev/null
+++ b/Engineering_Physics_by_H_K_Malik/17-BAND_THEORY_OF_SOLIDS.ipynb
@@ -0,0 +1,216 @@
+{
+"cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# Chapter 17: BAND THEORY OF SOLIDS"
+ ]
+ },
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 17.1: EX17_1.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"clc \n",
+"// Given that \n",
+"a = 3e-10 // side of square lattice in m\n",
+"h = 6.62e-34 // Planck constant in J sec\n",
+"e = 1.6e-19 // charge on an electron in C\n",
+"m = 9.1e-31 // mass of electron in kg\n",
+"// Sample Problem 1 on page no. 17.18\n",
+"printf('\n # PROBLEM 1 # \n')\n",
+"printf('Standard formula used \n ')\n",
+"printf('E = P^2 / (2*m) \n P = h_cut*k \n')\n",
+"p = (h / (2 * a))\n",
+"E = (p^2 / (2 * m)) * (1 / e)\n",
+"printf('\n Electron momentum value at the sides of first Brilloin zone is %e kg-m/sec.\n Enrgy of free electron is %f eV.',p,E)"
+ ]
+ }
+,
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 17.2: Calculation_of_Position_of_Fermi_level.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"clc \n",
+"// Given that \n",
+"n = 5e22 // no. of atoms per m^3\n",
+"t = 300 // room temperature in K\n",
+"k = 1.37e-23 // Boltzmann's constant in J/K\n",
+"h = 6.62e-34 // Planck constant in J sec\n",
+"e = 1.6e-19 // charge on an electron in C\n",
+"m = 9.1e-31 // mass of electron in kg\n",
+"// Sample Problem 2 on page no. 17.19\n",
+"printf('\n # PROBLEM 2 # \n')\n",
+"printf('Standard formula used \n')\n",
+"printf('n_c = 2*(2*pi*m*k*T/h^2)^(3/2) * e^(E_f-E_c)/kT \n')\n",
+"d = (k * t) * log(n * h^3 / (2 * (2 * %pi * m * k * t)^(3/2)))\n",
+"printf('\n Position of fermi level is %f eV.',-d/e)"
+ ]
+ }
+,
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 17.3: Calculation_of_New_position_of_Fermi_level.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"clc \n",
+"// Given that \n",
+"E = 0.3 // Fermi energy in eV\n",
+"T = 330 // temperature in K\n",
+"t = 300 // room temperature in K\n",
+"k = 1.37e-23 // Boltzmann's constant in J/K\n",
+"h = 6.62e-34 // Planck constant in J sec\n",
+"e = 1.6e-19 // charge on an electron in C\n",
+"m = 9.1e-31 // mass of electron in kg\n",
+"// Sample Problem 3 on page no. 17.19\n",
+"printf('\n # PROBLEM 3 # \n')\n",
+"printf('Standard formula used \n')\n",
+"printf('n_c = n_d * e^(E_f-E_c)/kT \n')\n",
+"d = (T / t) * (E)\n",
+"printf('\n New position of fermi level is %f eV.',d)"
+ ]
+ }
+,
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 17.4: Calculation_of_Density_of_holes_and_electron.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"clc \n",
+"// Given that \n",
+"E = 0.7 // band gap for semiconductor in eV\n",
+"t = 300 // room temperature in K\n",
+"k = 1.38e-23 // Boltzmann's constant in J/K\n",
+"h = 6.62e-34 // Planck constant in J sec\n",
+"e = 1.6e-19 // charge on an electron in C\n",
+"m = 9.1e-31 // mass of electron in kg\n",
+"// Sample Problem 4 on page no. 17.20\n",
+"printf('\n # PROBLEM 4 # \n')\n",
+"printf('Standard formula used \n')\n",
+"printf('n_c = 2*(2*pi*m*k*T/h^2)^(3/2) * e^(E_f-E_c)/kT \n')\n",
+"n = 2 * ((2 * %pi * k * t * m) / h^2)^(3/2) * exp(-(E * e / (2 * k * t)))\n",
+"printf('\n Density of holes and electron is %e per m^3.',n)"
+ ]
+ }
+,
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 17.5: Calculation_of_Hall_coefficient.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"clc \n",
+"// Given that \n",
+"n = 5e28 // no. of atoms in per m^3\n",
+"e = 1.6e-19 // charge on an electron in C\n",
+"// Sample Problem 5 on page no. 17.20\n",
+"printf('\n # PROBLEM 5 # \n')\n",
+"printf('Standard formula used \n')\n",
+"printf('R_h = 1/(n*e) \n')\n",
+"R = -(1 / (n * e))\n",
+"printf('\n Hall coefficient is %e m^3/C.',R)"
+ ]
+ }
+,
+{
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example 17.6: Calculation_of_Hall_coefficient.sce"
+ ]
+ },
+ {
+"cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "collapsed": true
+ },
+ "outputs": [],
+"source": [
+"clc \n",
+"// Given that \n",
+"a = 4.28e-10 // cell side of Na in m\n",
+"e = 1.6e-19 // charge on an electron in C\n",
+"// Sample Problem 6 on page no. 17.20\n",
+"printf('\n # PROBLEM 6 # \n')\n",
+"printf('Standard formula used \n')\n",
+"printf('R_h = 1/(n*e) \n')\n",
+"n = (2 / a^3)\n",
+"R = -(1 / (n * e))\n",
+"printf('\n Hall coefficient is %e m^3/C.',R)"
+ ]
+ }
+],
+"metadata": {
+ "kernelspec": {
+ "display_name": "Scilab",
+ "language": "scilab",
+ "name": "scilab"
+ },
+ "language_info": {
+ "file_extension": ".sce",
+ "help_links": [
+ {
+ "text": "MetaKernel Magics",
+ "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
+ }
+ ],
+ "mimetype": "text/x-octave",
+ "name": "scilab",
+ "version": "0.7.1"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}