blob: c16d259c605cdd44dd6f782ac8101dea5b32f635 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Example number 10.4, Page number 225
clc;clear;
close;
//Variable declaration
Hc=2*10**3; //critical magnetic field(A/m)
r=0.02; //radius(m)
//Calculation
Ic=2*%pi*r*Hc; //critical current(amp)
//Result
printf("critical current is %.1f A",Ic)
//answer in the book varies due to rounding off errors
|