summaryrefslogtreecommitdiff
path: root/Engineering_Physics/chapter13.ipynb
diff options
context:
space:
mode:
authorhardythe12015-05-05 14:21:39 +0530
committerhardythe12015-05-05 14:21:39 +0530
commit435840cef00c596d9e608f9eb2d96f522ea8505a (patch)
tree4c783890c984c67022977ca98432e5e4bab30678 /Engineering_Physics/chapter13.ipynb
parentaa1863f344766ca7f7c20a395e58d0fb23c52130 (diff)
downloadPython-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.tar.gz
Python-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.tar.bz2
Python-Textbook-Companions-435840cef00c596d9e608f9eb2d96f522ea8505a.zip
add books
Diffstat (limited to 'Engineering_Physics/chapter13.ipynb')
-rwxr-xr-xEngineering_Physics/chapter13.ipynb101
1 files changed, 101 insertions, 0 deletions
diff --git a/Engineering_Physics/chapter13.ipynb b/Engineering_Physics/chapter13.ipynb
new file mode 100755
index 00000000..5c4d543b
--- /dev/null
+++ b/Engineering_Physics/chapter13.ipynb
@@ -0,0 +1,101 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:54e553aa602b5b46f788e4b29d82727b714210cbc37d72a1b8625b974bd8b58b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "Chapter13:SUPERCONDUCTIVITY"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "\n",
+ "Ex13.1:pg-357"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 1\n",
+ "#to calculate value of Temperature\n",
+ "import math\n",
+ "Bc=105.0*10**3 #magnetic field in amp/m\n",
+ "Bo=150.0*10**3 #critical field of the metal in amp/m \n",
+ "Tc=9.2 #critical temperature of the metal in K\n",
+ "T=Tc*math.sqrt(1-(Bc/Bo))#temperature\n",
+ "print\"\\n the value of temperature is\",round(T,3),\"K\"\n",
+ "\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " the value of temperature is 5.039 K\n"
+ ]
+ }
+ ],
+ "prompt_number": 9
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "Ex13.2:pg-357"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "#example 2\n",
+ "#to calculate temperature\n",
+ "import math\n",
+ "Tc=7.18 #critical temperature in K\n",
+ "Bc=4.5*10**3 #critical field in A/m\n",
+ "Bo=6.5*10**3 #critical magnetic field in A/m\n",
+ "T=Tc*math.sqrt(1-(Bc/Bo))# temperature\n",
+ "print\"\\n the temperature is\",round(T,2),\"K\"\n",
+ "#to calculate critical current density at that temperature\n",
+ "r=1*10**-3 #diameter of the wire in mm\n",
+ "TJc=(Bc*2*math.pi*r)/(math.pi*r**2)# critical current density\n",
+ "print\"\\n the critical current density at that temperature is\",\"{:.1e}\".format(TJc),\"A/m^2\"\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "\n",
+ " the temperature is 3.98 K\n",
+ "\n",
+ " the critical current density at that temperature is 9.0e+06 A/m^2\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file