From d494f83613280ddbbf9b46b567059e3a4c8231f3 Mon Sep 17 00:00:00 2001 From: Trupti Kini Date: Sat, 22 Oct 2016 23:30:44 +0600 Subject: Added(A)/Deleted(D) following books A Solid_State_Physics_by_Dr._M._Arumugam/Chapter1.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter10.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter11.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter12.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter13.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter14.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter2.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter3.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter4.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter5.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter6.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/Chapter8.ipynb A Solid_State_Physics_by_Dr._M._Arumugam/screenshots/22.png A Solid_State_Physics_by_Dr._M._Arumugam/screenshots/33.png A Solid_State_Physics_by_Dr._M._Arumugam/screenshots/44.png A basic_electrical_engineering_by_nagsarkar_and_sukhija/Chapter2_g1CooCv.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/Chapter4_y6WvPya.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/Chapter5_8YQCBnu.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/chapter11_KNhAPle.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/chapter1_UaQSIvn.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/chapter3_2.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/chapter6_xg51MMS.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/chapter7_sTn1O6Y.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/chapter8_wAsDeY9.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/chapter9_NbF92Qt.ipynb A basic_electrical_engineering_by_nagsarkar_and_sukhija/screenshots/chap1_Ux1JjUJ.png A basic_electrical_engineering_by_nagsarkar_and_sukhija/screenshots/chapter2_jrlMSB1.png A basic_electrical_engineering_by_nagsarkar_and_sukhija/screenshots/chapter6_HJhQnZO.png --- .../Chapter1.ipynb | 151 +++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 Solid_State_Physics_by_Dr._M._Arumugam/Chapter1.ipynb (limited to 'Solid_State_Physics_by_Dr._M._Arumugam/Chapter1.ipynb') diff --git a/Solid_State_Physics_by_Dr._M._Arumugam/Chapter1.ipynb b/Solid_State_Physics_by_Dr._M._Arumugam/Chapter1.ipynb new file mode 100644 index 00000000..51a24716 --- /dev/null +++ b/Solid_State_Physics_by_Dr._M._Arumugam/Chapter1.ipynb @@ -0,0 +1,151 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 1: Bonding in Solids" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example number 1, Page number 1.21" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "-2*a/r**3 + 90*b/r**11\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "from sympy import *\n", + "import numpy as np\n", + "\n", + "#Variable declaration\n", + "n=1;\n", + "m=9;\n", + "a=Symbol('a')\n", + "b=Symbol('b')\n", + "r=Symbol('r')\n", + "\n", + "#Calculation\n", + "y=(-a/(r**n))+(b/(r**m));\n", + "y=diff(y,r);\n", + "y=diff(y,r);\n", + "\n", + "#Result\n", + "print y" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "young's modulus is 157 GPa\n" + ] + } + ], + "source": [ + "#since the values of a,b,r are declared as symbols in the above cell, it cannot be solved there. hence it is being solved here with the given variable declaration\n", + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration\n", + "a=7.68*10**-29; \n", + "r0=2.5*10**-10; #radius(m)\n", + "\n", + "#Calculation\n", + "b=a*(r0**8)/9;\n", + "y=((-2*a*r0**8)+(90*b))/r0**11; \n", + "E=y/r0; #young's modulus(Pa)\n", + "\n", + "#Result\n", + "print \"young's modulus is\",int(E/10**9),\"GPa\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Example number 2, Page number 1.22" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": { + "collapsed": false + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "effective charge is 0.72 *10**-19 coulomb\n", + "answer given in the book is wrong\n" + ] + } + ], + "source": [ + "#importing modules\n", + "import math\n", + "from __future__ import division\n", + "\n", + "#Variable declaration\n", + "dm=1.98*10**-29/3; #dipole moment\n", + "l=0.92*10**-10; #bond length(m)\n", + "\n", + "#Calculation\n", + "ec=dm/l; #effective charge(coulomb)\n", + "\n", + "#Result\n", + "print \"effective charge is\",round(ec*10**19,2),\"*10**-19 coulomb\"\n", + "print \"answer given in the book is wrong\"" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 2", + "language": "python", + "name": "python2" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.11" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} -- cgit