summaryrefslogtreecommitdiff
path: root/3769/CH10/EX10.28/Ex10_28.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH10/EX10.28/Ex10_28.sce')
-rw-r--r--3769/CH10/EX10.28/Ex10_28.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3769/CH10/EX10.28/Ex10_28.sce b/3769/CH10/EX10.28/Ex10_28.sce
new file mode 100644
index 000000000..e592dab25
--- /dev/null
+++ b/3769/CH10/EX10.28/Ex10_28.sce
@@ -0,0 +1,11 @@
+clear
+//Given
+K=0.095 //A
+n=50
+r=10*10**-2 //m
+u=4*%pi*10**-7
+//Calculation
+H=K*u*n/(2.0*r)
+
+//Result
+printf("\n Horizontal component of earths magnetic field is %0.3f *10**-4 T",H*10**4)