summaryrefslogtreecommitdiff
path: root/Engineering_Physics_by_S_K_Srivastava_and_R_A_Yadav/13-Superconductivity.ipynb
blob: 909902049cd6db58a70baf1ef854368790eb1218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"cells": [
 {
		   "cell_type": "markdown",
	   "metadata": {},
	   "source": [
       "# Chapter 13: Superconductivity"
	   ]
	},
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 13.1: value_of_T.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc\n",
"//to calculate value of Temperature\n",
"Bc=105*10^3 //magnetic field in amp/m\n",
"Bo=150*10^3 //critical field of the metal in amp/m \n",
"Tc=9.2 //critical temperature of the metal in K\n",
"T=Tc*sqrt(1-(Bc/Bo))\n",
"disp('value of temperature is T='+string(T)+'K')\n",
""
   ]
   }
,
{
		   "cell_type": "markdown",
		   "metadata": {},
		   "source": [
			"## Example 13.2: temperature_and_critical_current_density_at_the_temperature.sce"
		   ]
		  },
  {
"cell_type": "code",
	   "execution_count": null,
	   "metadata": {
	    "collapsed": true
	   },
	   "outputs": [],
"source": [
"clc\n",
"//to calculate temperature\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*sqrt(1-(Bc/Bo))\n",
"disp('temperature is T='+string(T)+'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*%pi*r)/(%pi*r^2)\n",
"disp('the critical current density at that temperature is TJc='+string(TJc)+'A/m^2')"
   ]
   }
],
"metadata": {
		  "kernelspec": {
		   "display_name": "Scilab",
		   "language": "scilab",
		   "name": "scilab"
		  },
		  "language_info": {
		   "file_extension": ".sce",
		   "help_links": [
			{
			 "text": "MetaKernel Magics",
			 "url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
			}
		   ],
		   "mimetype": "text/x-octave",
		   "name": "scilab",
		   "version": "0.7.1"
		  }
		 },
		 "nbformat": 4,
		 "nbformat_minor": 0
}