summaryrefslogtreecommitdiff
path: root/1865/CH2/EX2.2/prob_2.sce
blob: 2f153869abe8f28e06f56bed02a1b0ffdabd0c65 (plain)
1
2
3
4
5
6
7
8
9
10
//Problem 2
//Calculate the hysteresis loss
clear
clc
f=50// Frequency in Hz
v=0.01// Volume of the transformer core in m^3
A=
M=1750*1000// Saturation magnetization of BCC irons in A/m
m=(M*v)/n// Net magnetic moment per atom in Am^2
printf('Net magnetic moment = %.27f ',m)