summaryrefslogtreecommitdiff
path: root/2258/CH4/EX4.15/4_15.sce
blob: 5214cefd480fd0cf30964ecf89c17ecc21bb793c (plain)
1
2
3
4
5
6
7
8
9
clc();
clear;
// To calculate the hysterisis loss per cycle
A=100;   //area of hysteris loop in m^2
B=0.01;    //flux density in wb/m^2
H=40;    //magnetic field in amp/m
M=7650;    //atomic weight in kg/m^3
hl=A*B*H;
printf("the hysterisis loss per cycle is %f J/m^3",hl);