summaryrefslogtreecommitdiff
path: root/3768/CH10/EX10.2/Ex10_2.sce
blob: 116db80619faeba19e491a40377de335160333b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example number 10.2, Page number 225

clc;clear;
close;

//Variable declaration
T=2.5;     //temperature(K)
Tc=3.5;   //critical temperature(K)
H0=3.2*10**3;   //critical magnetic field(A/m)
//Calculation
Hc=H0*(1-(T/Tc)**2);    //critical field(A/m)
//Result
printf("critical field is %.3e A/m",Hc)