summaryrefslogtreecommitdiff
path: root/1865/CH2/EX2.2/prob_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1865/CH2/EX2.2/prob_2.sce')
-rw-r--r--1865/CH2/EX2.2/prob_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1865/CH2/EX2.2/prob_2.sce b/1865/CH2/EX2.2/prob_2.sce
new file mode 100644
index 000000000..2f153869a
--- /dev/null
+++ b/1865/CH2/EX2.2/prob_2.sce
@@ -0,0 +1,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)