summaryrefslogtreecommitdiff
path: root/3014/CH8/EX8.4/Ex8_4.sce
blob: 1d3da19bffb4c2ce5c596139c637ff69bb5719f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13


  clc
// Given that
H_c_0=  0.0803// Critical Field in tesla
T_c = 7.2 // Critical temperature in kelvin
T = 4.2 // Temperature in kelvin
printf("Example 8.4\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)
// Answer in book is 0.0548 tesla