summaryrefslogtreecommitdiff
path: root/3760/CH2/EX2.4/Ex2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3760/CH2/EX2.4/Ex2_4.sce')
-rw-r--r--3760/CH2/EX2.4/Ex2_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3760/CH2/EX2.4/Ex2_4.sce b/3760/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..95272dbf3
--- /dev/null
+++ b/3760/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,13 @@
+clc;
+l=0.02; // air gap length
+i1=20; // intermediate current
+i2=40; // current during armature movement from open to close position
+// from fig 2.11
+f1=0.04*i1; // flux linkage during open position at A
+f2=1.2+0.03*(i1-20); // flux linkage during close position at D
+f3=0.04*i2; // flux linkage during open position at B
+f4=1.2+0.03*(i2-20); // flux linkage during close position at C
+// Mechanical work done=area ODCFEO-area OABFEO
+W=((i1*f2)/2)+(((f2+f4)*i1)/2)-((i2*f3)/2);
+fe=W/l;
+printf('Average electromagnetic force is %d N',fe);