blob: b9bde7946c39f0a6c86ba4bbcc0308b0c1c6d673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// chapter 10
// example 10.4
// calculate transition temperature
// page 314
// given
clear;
clc;
T=6; // in K (given temperature)
Hc=5E3; // in A/m (critical magnetic field at 5K)
H0=2E4; // in A/m (critical magnetic field at 0K)
//calculate
// since Hc=H0*(1-(T/Tc)^2)
// therefor we have Tc=T/sqrt(1-(Hc/H)^2)
Tc=T/sqrt(1-(Hc/H0)); // calculation of transition temperature
printf('\nThe transition temperature is \tTc=%.3f K',Tc);
// Note: answer in the book is wrong due to calculation mistake
|