summaryrefslogtreecommitdiff
path: root/3669/CH9/EX9.5/5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH9/EX9.5/5.sce')
-rw-r--r--3669/CH9/EX9.5/5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3669/CH9/EX9.5/5.sce b/3669/CH9/EX9.5/5.sce
new file mode 100644
index 000000000..289d5dd26
--- /dev/null
+++ b/3669/CH9/EX9.5/5.sce
@@ -0,0 +1,11 @@
+
+//Variable declaration
+T=2.5; //temperature(K)
+H0=0.03; //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