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