summaryrefslogtreecommitdiff
path: root/3769/CH10/EX10.22/Ex10_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH10/EX10.22/Ex10_22.sce')
-rw-r--r--3769/CH10/EX10.22/Ex10_22.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3769/CH10/EX10.22/Ex10_22.sce b/3769/CH10/EX10.22/Ex10_22.sce
new file mode 100644
index 000000000..126a51a3c
--- /dev/null
+++ b/3769/CH10/EX10.22/Ex10_22.sce
@@ -0,0 +1,11 @@
+clear
+//Given
+H=0.40
+a=18 //degree
+
+//Calculation
+//
+R=H/(cos(a*3.14/180.0))
+
+//Result
+printf("\n Magnitude of earths magnetic field is %0.2f G",R)