diff options
author | nice | 2014-09-16 17:48:17 +0530 |
---|---|---|
committer | nice | 2014-09-16 17:48:17 +0530 |
commit | b8bb8bbfa81499ad7fc3f3508be257da65f543af (patch) | |
tree | 204976d3209b79a52e8518c65fa27a4ca48f8489 /Engineering_Physics/Chapter9.ipynb | |
parent | 2792e8d6ecab454e3cb8fb1ea1f26f1613bc1e1c (diff) | |
download | Python-Textbook-Companions-b8bb8bbfa81499ad7fc3f3508be257da65f543af.tar.gz Python-Textbook-Companions-b8bb8bbfa81499ad7fc3f3508be257da65f543af.tar.bz2 Python-Textbook-Companions-b8bb8bbfa81499ad7fc3f3508be257da65f543af.zip |
updating repo
Diffstat (limited to 'Engineering_Physics/Chapter9.ipynb')
-rwxr-xr-x | Engineering_Physics/Chapter9.ipynb | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/Engineering_Physics/Chapter9.ipynb b/Engineering_Physics/Chapter9.ipynb deleted file mode 100755 index ff53dd34..00000000 --- a/Engineering_Physics/Chapter9.ipynb +++ /dev/null @@ -1,62 +0,0 @@ -{ - "metadata": { - "name": "Chapter9" - }, - "nbformat": 3, - "nbformat_minor": 0, - "worksheets": [ - { - "cells": [ - { - "cell_type": "heading", - "level": 1, - "metadata": {}, - "source": "9: Superconducting Materials" - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": "Example number 9.1, Page number 255" - }, - { - "cell_type": "code", - "collapsed": false, - "input": "#importing modules\nimport math\n\n#Variable declaration\nH0 = 6.5*10**4; #magnetic field intensity(A/m)\nT = 4.2; #temperature(K)\nTc = 7.18; #critical temperature(K)\n\n#Calculation\nHc = H0*(1-((T**2)/(Tc**2))); #critical magnetic field intensity(A/m)\nHc = Hc*10**-4;\nHc=math.ceil(Hc*10**3)/10**3; #rounding off to 3 decimals\n\n#Result\nprint \"critical magnetic field intensity is\",Hc,\"*10**4 A/m\"", - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": "critical magnetic field intensity is 4.276 *10**4 A/m\n" - } - ], - "prompt_number": 1 - }, - { - "cell_type": "heading", - "level": 2, - "metadata": {}, - "source": "Example number 9.2, Page number 255" - }, - { - "cell_type": "code", - "collapsed": false, - "input": "#importing modules\nimport math\n\n#Variable declaration\nTc1 = 4.185; #critical temperature for M1(K)\nTc2 = 4.133; #critical temperature for M2(K)\nM1 = 199.5; #isotopic mass\nalpha = 0.5;\n\n#Calculation\nA = math.pow(M1,alpha)*Tc1/Tc2;\nM2 = math.pow(A,1/alpha); #isotopic mass\nM2=math.ceil(M2*10**3)/10**3; #rounding off to 3 decimals\n\n#Result\nprint \"isotopic mass is\",M2\nprint \"answer given in the book is wrong\"", - "language": "python", - "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": "isotopic mass is 204.552\nanswer given in the book is wrong\n" - } - ], - "prompt_number": 2 - } - ], - "metadata": {} - } - ] -}
\ No newline at end of file |