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