summaryrefslogtreecommitdiff
path: root/3763/CH7/EX7.6/Ex7_6.sce
blob: 319f6c5f5ddea2ff3ad26dfa6671642e58dca466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
clear
//
//
//

//Variable declaration
A=94      //area(m**2)
vy=0.1    //value of length(weber/m**2)
vx=20     //value of unit length
n=50      //number of magnetization cycles
d=7650    //density(kg/m**3)

//Calculation
h=A*vy*vx     //hysteresis loss per cycle(J/m**3)
hs=h*n       //hysteresis loss per second(watt/m**3)
pl=hs/d      //power loss(watt/kg)

//Result
printf("\n hysteresis loss per cycle is %0.3f  J/m**3",h)
printf("\n hysteresis loss per second is %0.3f  watt/m**3",hs)
printf("\n power loss is %0.2f  watt/kg",pl)