summaryrefslogtreecommitdiff
path: root/3769/CH10/EX10.26/Ex10_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH10/EX10.26/Ex10_26.sce')
-rw-r--r--3769/CH10/EX10.26/Ex10_26.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3769/CH10/EX10.26/Ex10_26.sce b/3769/CH10/EX10.26/Ex10_26.sce
new file mode 100644
index 000000000..8f45fed5d
--- /dev/null
+++ b/3769/CH10/EX10.26/Ex10_26.sce
@@ -0,0 +1,13 @@
+clear
+//Given
+l=0.05 //m
+d=0.12 //m
+H=0.34*10**-4 //T
+
+//Calculation
+//
+u=4*%pi*10**-7
+M=(4*%pi*H*(d**2+l**2)**1.5)/u
+
+//Result
+printf("\n Magnetic moment of the magnet is %0.3f J/T",M)