summaryrefslogtreecommitdiff
path: root/Applied_Physics_by_S._Mani_Naidu/Chapter9_aPNsAAD.ipynb
diff options
context:
space:
mode:
authorTrupti Kini2017-01-26 23:30:31 +0600
committerTrupti Kini2017-01-26 23:30:31 +0600
commit20b4cdb283d26cd07c04b0f41f0f95d3315953c7 (patch)
treed1c16d571df83255bfef4331653365655ec1bdb7 /Applied_Physics_by_S._Mani_Naidu/Chapter9_aPNsAAD.ipynb
parent9086de783b2c774a5812b19304b5a692c702b20e (diff)
downloadPython-Textbook-Companions-20b4cdb283d26cd07c04b0f41f0f95d3315953c7.tar.gz
Python-Textbook-Companions-20b4cdb283d26cd07c04b0f41f0f95d3315953c7.tar.bz2
Python-Textbook-Companions-20b4cdb283d26cd07c04b0f41f0f95d3315953c7.zip
Added(A)/Deleted(D) following books
A Applied_Physics_by_S._Mani_Naidu/Chapter10_ltpcAad.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter11_1oQwy5p.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter13_GeJp1ib.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter1_bpgdjRb.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter2_HqNnyxR.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter3_DZeHBDv.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter4_GQU4hKw.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter5_KWgo7p8.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter6_eRlj3AT.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter7_oB2qi2Q.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter8_nXYTfh3.ipynb A Applied_Physics_by_S._Mani_Naidu/Chapter9_aPNsAAD.ipynb A Applied_Physics_by_S._Mani_Naidu/screenshots/11_t2ZZh1d.png A Applied_Physics_by_S._Mani_Naidu/screenshots/22_qzGOu9H.png A Applied_Physics_by_S._Mani_Naidu/screenshots/33_Gn0dXeY.png
Diffstat (limited to 'Applied_Physics_by_S._Mani_Naidu/Chapter9_aPNsAAD.ipynb')
-rw-r--r--Applied_Physics_by_S._Mani_Naidu/Chapter9_aPNsAAD.ipynb305
1 files changed, 305 insertions, 0 deletions
diff --git a/Applied_Physics_by_S._Mani_Naidu/Chapter9_aPNsAAD.ipynb b/Applied_Physics_by_S._Mani_Naidu/Chapter9_aPNsAAD.ipynb
new file mode 100644
index 00000000..4f07646f
--- /dev/null
+++ b/Applied_Physics_by_S._Mani_Naidu/Chapter9_aPNsAAD.ipynb
@@ -0,0 +1,305 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# 9: Superconductivity"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 1, Page number 9-22"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "transition temperature is 11.3 K\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "Hc=1*10**5; #critical magnetic field(A/m)\n",
+ "T=8; #temperature(K)\n",
+ "H0=2*10**5; #critical magnetic field(A/m)\n",
+ "\n",
+ "#Calculation\n",
+ "Tc=T/math.sqrt(1-(Hc/H0)); #transition temperature(K)\n",
+ "\n",
+ "#Result\n",
+ "print \"transition temperature is\",round(Tc,1),\"K\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 2, Page number 9-22"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "frequency is 4.1 *10**9 Hz\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "e=1.6*10**-19; #charge(c)\n",
+ "h=6.626*10**-34; #plank constant\n",
+ "V=8.5*10**-6; #voltage(V)\n",
+ "\n",
+ "#Calculation\n",
+ "new=2*e*V/h; #frequency(Hz)\n",
+ "\n",
+ "#Result\n",
+ "print \"frequency is\",round(new/10**9,1),\"*10**9 Hz\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 3, Page number 9-22"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "critical field is 0.02166 Tesla\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "T=2; #temperature(K)\n",
+ "Tc=3.7; #critical temperature(K)\n",
+ "H0=0.0306; #critical magnetic field(A/m)\n",
+ "\n",
+ "#Calculation\n",
+ "Hc=H0*(1-(T/Tc)**2); #critical field(Tesla)\n",
+ "\n",
+ "#Result\n",
+ "print \"critical field is\",round(Hc,5),\"Tesla\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 4, Page number 9-23"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "maximum critical temperature is 7.2 K\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "Hc=200*10**3; #critical magnetic field(A/m)\n",
+ "Tc=12; #critical temperature(K)\n",
+ "H0=250*10**3; #critical magnetic field(A/m)\n",
+ "\n",
+ "#Calculation\n",
+ "T=Tc*math.sqrt(1-(Hc/H0)**2); #maximum critical temperature(K)\n",
+ "\n",
+ "#Result\n",
+ "print \"maximum critical temperature is\",T,\"K\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 5, Page number 9-23"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "critical field is 0.0163 Tesla\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "T=2.5; #temperature(K)\n",
+ "Tc=3.7; #critical temperature(K)\n",
+ "H0=0.03; #critical magnetic field(A/m)\n",
+ "\n",
+ "#Calculation\n",
+ "Hc=H0*(1-(T/Tc)**2); #critical field(Tesla)\n",
+ "\n",
+ "#Result\n",
+ "print \"critical field is\",round(Hc,4),\"Tesla\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 6, Page number 9-23"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 16,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "frequency is 313.96 *10**9 Hz\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "e=1.6*10**-19; #charge(c)\n",
+ "h=6.625*10**-34; #plank constant\n",
+ "V=650*10**-6; #voltage(V)\n",
+ "\n",
+ "#Calculation\n",
+ "new=2*e*V/h; #frequency(Hz)\n",
+ "\n",
+ "#Result\n",
+ "print \"frequency is\",round(new/10**9,2),\"*10**9 Hz\""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Example number 7, Page number 9-24"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 18,
+ "metadata": {
+ "collapsed": false
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "critical field is 3.365 *10**3 A/m\n"
+ ]
+ }
+ ],
+ "source": [
+ "#importing modules\n",
+ "import math\n",
+ "from __future__ import division\n",
+ "\n",
+ "#Variable declaration\n",
+ "T=5; #temperature(K)\n",
+ "Tc=7.2; #critical temperature(K)\n",
+ "H0=6.5*10**3; #critical magnetic field(A/m)\n",
+ "\n",
+ "#Calculation\n",
+ "Hc=H0*(1-(T/Tc)**2); #critical field(A/m)\n",
+ "\n",
+ "#Result\n",
+ "print \"critical field is\",round(Hc/10**3,3),\"*10**3 A/m\""
+ ]
+ }
+ ],
+ "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
+}