summaryrefslogtreecommitdiff
path: root/3782/CH3/EX3.9/Ex3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3782/CH3/EX3.9/Ex3_9.sce')
-rw-r--r--3782/CH3/EX3.9/Ex3_9.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3782/CH3/EX3.9/Ex3_9.sce b/3782/CH3/EX3.9/Ex3_9.sce
new file mode 100644
index 000000000..4464b97ef
--- /dev/null
+++ b/3782/CH3/EX3.9/Ex3_9.sce
@@ -0,0 +1,12 @@
+
+//
+//
+
+magneticbearing=320+(30/60)
+declination=3+(30/60)
+truebearing=magneticbearing-declination
+declination2=4+(15/60)
+MB=truebearing-declination2
+deg=int(MB)
+mins=(MB-deg)*60
+printf("\n Magnetic bearing= %0.3f degrees %0.3f minutes",deg,mins)