diff options
Diffstat (limited to '3782/CH3/EX3.4/Ex3_4.sce')
-rw-r--r-- | 3782/CH3/EX3.4/Ex3_4.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/3782/CH3/EX3.4/Ex3_4.sce b/3782/CH3/EX3.4/Ex3_4.sce new file mode 100644 index 000000000..ca3b15692 --- /dev/null +++ b/3782/CH3/EX3.4/Ex3_4.sce @@ -0,0 +1,31 @@ + +// +// + +//(a) +FB_AB=30+(30/60) +BB_AB=FB_AB +mins=(BB_AB-int(BB_AB))*60 +deg=int(BB_AB) +printf("\n N %0.3f degrees %0.3f minutes W",deg,mins) + +//(b) +FB_AB=40+(30/60) +BB_AB=FB_AB +mins=(BB_AB-int(BB_AB))*60 +deg=int(BB_AB) +printf("\n S %0.3f degrees %0.3f minutes E",deg,mins) + +//(c) +FB_AB=60+(15/60) +BB_AB=FB_AB +mins=(BB_AB-int(BB_AB))*60 +deg=int(BB_AB) +printf("\n N %0.3f degrees %0.3f minutes E",deg,mins) + +//(d) +FB_AB=45+(30/60) +BB_AB=FB_AB +mins=(BB_AB-int(BB_AB))*60 +deg=int(BB_AB) +printf("\n S %0.3f degrees %0.3f minutes W",deg,mins) |