summaryrefslogtreecommitdiff
path: root/A_Textbook_Of_Engineering_Physics/Chapter22_1.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'A_Textbook_Of_Engineering_Physics/Chapter22_1.ipynb')
-rwxr-xr-xA_Textbook_Of_Engineering_Physics/Chapter22_1.ipynb141
1 files changed, 141 insertions, 0 deletions
diff --git a/A_Textbook_Of_Engineering_Physics/Chapter22_1.ipynb b/A_Textbook_Of_Engineering_Physics/Chapter22_1.ipynb
new file mode 100755
index 00000000..15083682
--- /dev/null
+++ b/A_Textbook_Of_Engineering_Physics/Chapter22_1.ipynb
@@ -0,0 +1,141 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:ab6a6bb45b4cdef5c73ac14b797742c1b4b21056356723e765f29cef6d5d7ccd"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter22-Superconductivity"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex1-pg646"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "##Example 22.1\n",
+ "##calculation of magnetic field\n",
+ "\n",
+ "##given values\n",
+ "\n",
+ "Tc=7.2;##transition temp in K\n",
+ "T=5.;##temp in K\n",
+ "Hc=3.3*10**4;##magnetic field at T in A/m\n",
+ "\n",
+ "\n",
+ "##calculation\n",
+ "Hc0=Hc/(1-(T**2/Tc**2));\n",
+ "print'%s %.2f %s'%('max value of H at 0K (in A/m) is ',Hc0,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "max value of H at 0K (in A/m) is 63737.70 \n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex2-pg646"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "##Example 22.2\n",
+ "##calculation of transition temperature\n",
+ "\n",
+ "##given values\n",
+ "\n",
+ "T=8.;##temp in K\n",
+ "Hc=1*10**5.;##critical magnetic field at T in A/m\n",
+ "Hc0=2*10**5.;##magnetic field at 0 K in A/m\n",
+ "\n",
+ "##calculation\n",
+ "Tc=T/(math.sqrt(1.-Hc/Hc0));\n",
+ "print'%s %.2f %s'%('transition temp in K is',Tc,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "transition temp in K is 11.31 \n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex3-pg647"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "import math\n",
+ "##Example 22.3\n",
+ "##calculation of temp at which there is max critical field\n",
+ "\n",
+ "##given values\n",
+ "\n",
+ "Tc=7.26;##critical temp in K\n",
+ "Hc=8*10**5.;##max critical magnetic field at T in A/m\n",
+ "H=4*10**4.;## subjected magnetic field at in A/m\n",
+ "\n",
+ "##calculation\n",
+ "T=Tc*(math.sqrt(1.-H/Hc));\n",
+ "print'%s %.2f %s'%('max temp for superconductivity in K is',T,'');\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "max temp for superconductivity in K is 7.08 \n"
+ ]
+ }
+ ],
+ "prompt_number": 4
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file