summaryrefslogtreecommitdiff
path: root/3669/CH9/EX9.1/1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH9/EX9.1/1.sce')
-rw-r--r--3669/CH9/EX9.1/1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3669/CH9/EX9.1/1.sce b/3669/CH9/EX9.1/1.sce
new file mode 100644
index 000000000..4fc630fb8
--- /dev/null
+++ b/3669/CH9/EX9.1/1.sce
@@ -0,0 +1,11 @@
+
+//Variable declaration
+T=8; //temperature(K)
+Hc=1*10**5; //critical field(amp/m)
+H0=2*10**5; //critical field(amp/m)
+
+//Calculation
+Tc=T/sqrt(1-(Hc/H0)); //transition temperature(K)
+
+//Result
+printf('transition temperature is %0.3f K \n',(Tc)) \ No newline at end of file