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