diff options
author | Thomas Stephen Lee | 2015-09-04 22:04:10 +0530 |
---|---|---|
committer | Thomas Stephen Lee | 2015-09-04 22:04:10 +0530 |
commit | 41f1f72e9502f5c3de6ca16b303803dfcf1df594 (patch) | |
tree | f4bf726a3e3ce5d7d9ee3781cbacfe3116115a2c /Applied_Physics_II_by_H_J_Sawant/Chapter_7.ipynb | |
parent | 9c9779ba21b9bedde88e1e8216f9e3b4f8650b0e (diff) | |
download | Python-Textbook-Companions-41f1f72e9502f5c3de6ca16b303803dfcf1df594.tar.gz Python-Textbook-Companions-41f1f72e9502f5c3de6ca16b303803dfcf1df594.tar.bz2 Python-Textbook-Companions-41f1f72e9502f5c3de6ca16b303803dfcf1df594.zip |
add/remove/update books
Diffstat (limited to 'Applied_Physics_II_by_H_J_Sawant/Chapter_7.ipynb')
-rwxr-xr-x | Applied_Physics_II_by_H_J_Sawant/Chapter_7.ipynb | 178 |
1 files changed, 178 insertions, 0 deletions
diff --git a/Applied_Physics_II_by_H_J_Sawant/Chapter_7.ipynb b/Applied_Physics_II_by_H_J_Sawant/Chapter_7.ipynb new file mode 100755 index 00000000..3425e831 --- /dev/null +++ b/Applied_Physics_II_by_H_J_Sawant/Chapter_7.ipynb @@ -0,0 +1,178 @@ +{ + "metadata": { + "name": "" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "heading", + "level": 1, + "metadata": {}, + "source": [ + "Chapter 7: Superconductivity" + ] + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 7.3.1, Page number 7-6" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\n", + "import math\n", + "\n", + "#Variable declaration\n", + "Ho = 2.*10**5 #A/m\n", + "Hc = 1.*10**5 #A/m\n", + "T = 8. #temperature(K)\n", + "\n", + "#Calculations\n", + "Tc = math.sqrt(T**2/(1-(Hc/Ho)))\n", + "\n", + "#Result\n", + "print \"Critical temperature =\",round(Tc,3),\"K\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Critical temperature = 11.314 K\n" + ] + } + ], + "prompt_number": 8 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 7.3.2, Page number 7-7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\n", + "import math\n", + "\n", + "#Variable declaration\n", + "Bo = 0.0306 #Critical field at 0K(T)\n", + "Tc = 3.7 #critical temperature(K)\n", + "T = 2 #K\n", + "\n", + "#calculation\n", + "Bc = Bo*(1-((T/Tc)**2))\n", + "\n", + "#Result\n", + "print \"Critical field at 2K is\",round(Bc,5),\"T\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Critical field at 2K is 0.02166 T\n" + ] + } + ], + "prompt_number": 11 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 7.3.3, Page number 7-7" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\n", + "import math\n", + "\n", + "#Variable declaration\n", + "Ho = 6.5*10**4 #Critical field at 0K(T)\n", + "Tc = 7.18 #critical temperature(K)\n", + "T = 4.2 #K\n", + "r = 0.5*10**-3 #radius(m)\n", + "\n", + "#calculation\n", + "Hc = Ho*(1-((T/Tc)**2))\n", + "Ic = 2*math.pi*r*Hc\n", + "\n", + "#Result\n", + "print \"Critical current =\",round(Ic,2),\"A\"" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Critical current = 134.33 A\n" + ] + } + ], + "prompt_number": 2 + }, + { + "cell_type": "heading", + "level": 2, + "metadata": {}, + "source": [ + "Example 7.3.4, Page number 7-8" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\n", + "#Variable declaration\n", + "Tc1 = 4.185 #critical temperature(K)\n", + "M1 = 199.5 #isotopic mass\n", + "Tc2 = 4.133 #K\n", + "\n", + "#calculation\n", + "M2 = ((Tc1*M1**0.5)/Tc2)**2\n", + "\n", + "#Result\n", + "print \"Isotopic mass =\",round(M2,2)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "Isotopic mass = 204.55\n" + ] + } + ], + "prompt_number": 9 + } + ], + "metadata": {} + } + ] +}
\ No newline at end of file |