summaryrefslogtreecommitdiff
path: root/2276/CH2/EX2.6/chapter2_ex6.sce
blob: 7012b7804f6a43b1f611c452a57363c585d839d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clc
clear

//input
h=500; //hysteresis losses of the rotor of a d.c. machine in joule/cubic meter/cycle
n=50; //number of cycles of magnetisation
d=0.0075; //density of the material in mg/cubic meter
H=10; //magnetising force in ampere/mater per mm when hysteresis loop is plotted on a graph
B=0.02; //flux density in tesla per mm when hysteresis loop is plotted on a graph

//calculations
e=B*H; //energy represented by 1square mm in joules
a=h/e; //area of loop in square mm
p=h*n; //power loss in watts per cubic meter
P=(p*(10^-6))/d; //power loss in watts per Kg

//output
mprintf('the area of hysteresis loop is %3.10f sq.mm \n the power loss is %3.10f W/Kg',a,P)