summaryrefslogtreecommitdiff
path: root/3669/CH9/EX9.7/7.sce
blob: b2f904e3cc5da60616727cd990cdd8edee4807a4 (plain)
1
2
3
4
5
6
7
8
9
10
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))