summaryrefslogtreecommitdiff
path: root/1736/CH9/EX9.3/Ch09Ex3.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1736/CH9/EX9.3/Ch09Ex3.sce
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 '1736/CH9/EX9.3/Ch09Ex3.sce')
-rwxr-xr-x1736/CH9/EX9.3/Ch09Ex3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1736/CH9/EX9.3/Ch09Ex3.sce b/1736/CH9/EX9.3/Ch09Ex3.sce
new file mode 100755
index 000000000..352335c13
--- /dev/null
+++ b/1736/CH9/EX9.3/Ch09Ex3.sce
@@ -0,0 +1,11 @@
+// Scilab Code Ex9.3 Page:278 (2006)
+clc;clear;
+T_1 = 14; // Temperature, K
+T_2 = 13; // Temperature, K
+H_c1 = 1.4e+05; // Critical field at T_1, K
+H_c2 = 4.2e+05; // Critical field at T_2, K//As H_c1/H_c2 = (T_c^2-T_1^2)/(T_c^2-T_2^2), solving for T_c
+T_c = sqrt((H_c2/H_c1*T_1^2 - T_2^2)/2); // The superconducting transition temperature of a specimen, K
+printf("\nTransition temperature of a specimen = %5.2f K", T_c);
+
+// Result
+// Transition temperature of a specimen = 14.47 K