diff options
Diffstat (limited to '3014/CH8/EX8.2/Ex8_2.sce')
-rwxr-xr-x | 3014/CH8/EX8.2/Ex8_2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3014/CH8/EX8.2/Ex8_2.sce b/3014/CH8/EX8.2/Ex8_2.sce new file mode 100755 index 000000000..277e8fa44 --- /dev/null +++ b/3014/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,10 @@ +
+ clc
+// Given that
+H_c= 3.3e4 // // Magnetic field in A/m
+T_c = 7.2 // Critical temperature in kelvin
+T = 5 // Temperature in kelvin
+printf("Example 8.2\n")
+printf("Standard formula used \tH_c = H_c_0*(1-(T/T_c)^2) \n")
+H_c_0 = H_c*(1-(T/T_c)^2)^(-1) // Calculation of critical field
+printf("Magnetic Field at %d K is %e A/m\n\n\n",T,H_c_0)
|