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