summaryrefslogtreecommitdiff
path: root/3014/CH8/EX8.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3014/CH8/EX8.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3014/CH8/EX8.1')
-rwxr-xr-x3014/CH8/EX8.1/Ex8_1.sce10
-rwxr-xr-x3014/CH8/EX8.1/Ex8_1.txt3
2 files changed, 13 insertions, 0 deletions
diff --git a/3014/CH8/EX8.1/Ex8_1.sce b/3014/CH8/EX8.1/Ex8_1.sce
new file mode 100755
index 000000000..2d0d7ec5a
--- /dev/null
+++ b/3014/CH8/EX8.1/Ex8_1.sce
@@ -0,0 +1,10 @@
+ clc
+// Given that
+H_c_0= 0.0306// Critical Field in tesla
+T_c = 3.7 // Critical temperature in kelvin
+T = 2 // Temperature in kelvin
+printf("Example 8.1\n")
+printf("Standard formula used \tH_c = H_c_0*(1-(T/T_c)^2) \n")
+H_c = H_c_0*(1-(T/T_c)^2) // Calculation of critical field
+
+printf("Magnetic Field at %d K is %f tesla.\n\n\n",T,H_c)
diff --git a/3014/CH8/EX8.1/Ex8_1.txt b/3014/CH8/EX8.1/Ex8_1.txt
new file mode 100755
index 000000000..ef3f5de33
--- /dev/null
+++ b/3014/CH8/EX8.1/Ex8_1.txt
@@ -0,0 +1,3 @@
+ Example 8.1
+Standard formula used H_c = H_c_0*(1-(T/T_c)^2)
+Magnetic Field at 2 K is 0.021659 tesla. \ No newline at end of file