diff options
Diffstat (limited to '3782/CH3')
-rw-r--r-- | 3782/CH3/EX3.1/Ex3_1.sce | 32 | ||||
-rw-r--r-- | 3782/CH3/EX3.10/Ex3_10.sce | 16 | ||||
-rw-r--r-- | 3782/CH3/EX3.11/Ex3_11.sce | 23 | ||||
-rw-r--r-- | 3782/CH3/EX3.12/Ex3_12.sce | 28 | ||||
-rw-r--r-- | 3782/CH3/EX3.13/Ex3_13.sce | 23 | ||||
-rw-r--r-- | 3782/CH3/EX3.14/Ex3_14.sce | 26 | ||||
-rw-r--r-- | 3782/CH3/EX3.15/Ex3_15.sce | 35 | ||||
-rw-r--r-- | 3782/CH3/EX3.16/Ex3_16.sce | 48 | ||||
-rw-r--r-- | 3782/CH3/EX3.17/Ex3_17.sce | 42 | ||||
-rw-r--r-- | 3782/CH3/EX3.18/Ex3_18.sce | 72 | ||||
-rw-r--r-- | 3782/CH3/EX3.19/Ex3_19.sce | 73 | ||||
-rw-r--r-- | 3782/CH3/EX3.2/Ex3_2.sce | 29 | ||||
-rw-r--r-- | 3782/CH3/EX3.20/Ex3_20.sce | 86 | ||||
-rw-r--r-- | 3782/CH3/EX3.21/Ex3_21.sce | 70 | ||||
-rw-r--r-- | 3782/CH3/EX3.22/Ex3_22.sce | 39 | ||||
-rw-r--r-- | 3782/CH3/EX3.23/Ex3_23.sce | 32 | ||||
-rw-r--r-- | 3782/CH3/EX3.24/Ex3_24.sce | 69 | ||||
-rw-r--r-- | 3782/CH3/EX3.3/Ex3_3.sce | 29 | ||||
-rw-r--r-- | 3782/CH3/EX3.4/Ex3_4.sce | 31 | ||||
-rw-r--r-- | 3782/CH3/EX3.5/Ex3_5.sce | 30 | ||||
-rw-r--r-- | 3782/CH3/EX3.6/Ex3_6.sce | 31 | ||||
-rw-r--r-- | 3782/CH3/EX3.7/Ex3_7.sce | 18 | ||||
-rw-r--r-- | 3782/CH3/EX3.8/Ex3_8.sce | 12 | ||||
-rw-r--r-- | 3782/CH3/EX3.9/Ex3_9.sce | 12 |
24 files changed, 906 insertions, 0 deletions
diff --git a/3782/CH3/EX3.1/Ex3_1.sce b/3782/CH3/EX3.1/Ex3_1.sce new file mode 100644 index 000000000..f8dd1a265 --- /dev/null +++ b/3782/CH3/EX3.1/Ex3_1.sce @@ -0,0 +1,32 @@ + + +// +// + +//(a)QB of AB +WCB_AB=45+(30/60) +QB_AB=WCB_AB +mins=(QB_AB-int(QB_AB))*60 +deg=int(QB_AB) +printf("\n N %0.3f degrees %0.3f minutes E",deg,mins) + +//(b)QB of BC +WCB_BC=125+(45/60) +QB_BC=180-WCB_BC +mins=(QB_BC-int(QB_BC))*60 +deg=int(QB_BC) +printf("\n S %0.3f degrees %0.3f minutes E",deg,mins) + +//(c) QB of CD +WCB_CD=222+(15/60) +QB_CD=WCB_CD-180 +deg=int(QB_CD) +mins=(QB_CD-deg)*60 +printf("\n S %0.3f degrees %0.3f minutes W",deg,mins) + +//(d) QB of DE +WCB_DE=320+(30/60) +QB_DE=360-WCB_DE +deg=int(QB_DE) +mins=(QB_DE-deg)*60 +printf("\n N %0.3f degrees %0.3f minutes W",deg,mins) diff --git a/3782/CH3/EX3.10/Ex3_10.sce b/3782/CH3/EX3.10/Ex3_10.sce new file mode 100644 index 000000000..2d86b4a3d --- /dev/null +++ b/3782/CH3/EX3.10/Ex3_10.sce @@ -0,0 +1,16 @@ + +// +// + +//(a) +magneticbearing=175+(30/60) +magneticdeclination=180-magneticbearing +deg=int(magneticdeclination) +mins=(magneticdeclination-deg)*60 +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) +//(b) + +magneticdeclination=5+(45/60) +deg=int(magneticdeclination) +mins=(magneticdeclination-deg)*60 +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) diff --git a/3782/CH3/EX3.11/Ex3_11.sce b/3782/CH3/EX3.11/Ex3_11.sce new file mode 100644 index 000000000..4b37395af --- /dev/null +++ b/3782/CH3/EX3.11/Ex3_11.sce @@ -0,0 +1,23 @@ + + +// +// + +bearingOB=140+(15/60)//given +bearingOA=30+(30/60)//given +angleAOB=bearingOB-bearingOA +deg=int(angleAOB) +mins=(angleAOB-deg)*60//finding minutes +printf("\n AngleAOB= %0.3f degrees %0.3f minutes",deg,mins) + +bearingOC=220+(45/60)//given +angleBOC=bearingOC-bearingOB +deg=int(angleBOC) +mins=(angleBOC-deg)*60//finding minutes +printf("\n AngleBOC= %0.3f degrees %0.3f minutes",deg,mins) + +bearingOD=310+(30/60)//given +angleCOD=bearingOD-bearingOC +deg=int(angleCOD) +mins=(angleCOD-deg)*60//finding minutes +printf("\n AngleCOD= %0.3f degrees %0.3f minutes",deg,mins) diff --git a/3782/CH3/EX3.12/Ex3_12.sce b/3782/CH3/EX3.12/Ex3_12.sce new file mode 100644 index 000000000..7d18a3d7e --- /dev/null +++ b/3782/CH3/EX3.12/Ex3_12.sce @@ -0,0 +1,28 @@ + + +// + +// + +interiorB=(45+(30/60))+180-(120+(15/60))//given +deg=int(interiorB)//convert into mins and degrees +mins=(interiorB-deg)*60 +printf("\n Interior angle B= %0.3f degrees %0.3f minutes",deg,mins) + +interiorC=(120+(15/60))+180-(200+(30/60)) +//convert into mins and degrees +deg=int(interiorC) +mins=(interiorC-deg)*60 +printf("\n Interior angle C= %0.3f degrees %0.3f minutes",deg,mins) + +exteriorD=(280+(45/60))+180-(200+(30/60)) +//convert into mins and degrees +deg=int(exteriorD) +mins=(exteriorD-deg)*60 +printf("\n Exterior angle D= %0.3f degrees %0.3f minutes",deg,mins) + +interiorD=360-(260+(15/60)) +//convert into mins and degrees +deg=int(interiorD) +mins=(interiorD-deg)*60 +printf("\n Interior angle D= %0.3f degrees %0.3f minutes",deg,mins) diff --git a/3782/CH3/EX3.13/Ex3_13.sce b/3782/CH3/EX3.13/Ex3_13.sce new file mode 100644 index 000000000..15f5b6ea5 --- /dev/null +++ b/3782/CH3/EX3.13/Ex3_13.sce @@ -0,0 +1,23 @@ + + +// +// + +//given + +FB_AB=80+(30/60) +FB_BC=FB_AB+180-60 +FB_CA=FB_BC-180+300 + +//convert into mins and degrees +deg1=int(FB_AB) +mins1=(FB_AB-deg1)*60 +deg2=int(FB_BC) +mins2=(FB_BC-deg2)*60 +deg3=int(FB_CA) +mins3=(FB_CA-deg3)*60 + + +printf("\nFB_AB is %0.3f degrees %0.3f minutes W",deg1,mins1) +printf("\nFB_BC is %0.3f degrees %0.3f minutes W",deg2,mins2) +printf("\nFB_CA is %0.3f degrees %0.3f minutes W",deg3,mins3) diff --git a/3782/CH3/EX3.14/Ex3_14.sce b/3782/CH3/EX3.14/Ex3_14.sce new file mode 100644 index 000000000..766a8caf3 --- /dev/null +++ b/3782/CH3/EX3.14/Ex3_14.sce @@ -0,0 +1,26 @@ + + +// +// + + +//given +FB_AB=120+(30/60) +FB_BC=FB_AB+180-90 +FB_CD=FB_BC-180+270 +FB_DA=FB_CD-180-90 + +//convert into mins and degrees +deg1=int(FB_AB) +mins1=(FB_AB-deg1)*60 +deg2=int(FB_BC) +mins2=(FB_BC-deg2)*60 +deg3=int(FB_CD) +mins3=(FB_CD-deg3)*60 +deg4=int(FB_DA) +mins4=(FB_DA-deg4)*60 + +printf("\nFB_AB = %0.3f degrees %0.3f minutes W",deg1,mins1) +printf("\nFB_BC = %0.3f degrees %0.3f minutes W",deg2,mins2) +printf("\nFB_CD = %0.3f degrees %0.3f minutes W",deg3,mins3) +printf("\nFB_DA = %0.3f degrees %0.3f minutes W",deg4,mins4) diff --git a/3782/CH3/EX3.15/Ex3_15.sce b/3782/CH3/EX3.15/Ex3_15.sce new file mode 100644 index 000000000..0d2598d13 --- /dev/null +++ b/3782/CH3/EX3.15/Ex3_15.sce @@ -0,0 +1,35 @@ + + +// +// + +//given +interiorB=540/5 +FB_AB=30+(0/60) +FB_BC=FB_AB+180+interiorB +FB_CD=FB_BC-180+interiorB +FB_DE=FB_CD-180+interiorB +FB_EA=FB_DE+180-360+interiorB +FB_AB=FB_EA+180-360+interiorB + +//convert into mins and degrees +deg1=int(FB_AB) +mins1=(FB_AB-deg1)*60 +deg2=int(FB_BC) +mins2=(FB_BC-deg2)*60 +deg3=int(FB_CD) +mins3=(FB_CD-deg3)*60 +deg4=int(FB_DE) +mins4=(FB_DE-deg4)*60 +deg5=int(FB_EA) +mins5=0 +deg6=int(FB_AB) +mins6=0 + + +printf("\nFB_AB %0.3f degrees %0.3f minutes W",deg1,mins1) +printf("\nFB_BC %0.3f degrees %0.3f minutes W",deg2,mins2) +printf("\nFB_CD %0.3f degrees %0.3f minutes W",deg3,mins3) +printf("\nFB_DE %0.3f degrees %0.3f minutes W",deg4,mins4) +printf("\nFB_EA %0.3f degrees %0.3f minutes W",deg5,mins5) +printf("\nFB_AB %0.3f degrees %0.3f minutes W",deg6,mins6) diff --git a/3782/CH3/EX3.16/Ex3_16.sce b/3782/CH3/EX3.16/Ex3_16.sce new file mode 100644 index 000000000..6f62199fc --- /dev/null +++ b/3782/CH3/EX3.16/Ex3_16.sce @@ -0,0 +1,48 @@ + + +// +//given + +BB_AB=330+(15/60) +BB_BC=200+(30/60) +BB_CD=115+(45/60) +BB_DE=38+(0/60) +BB_EA=300+(30/60) + +//calculations +exteriorA=BB_EA-(150+(15/60)) +interiorA=360-exteriorA +exteriorB=BB_AB-(20+(30/60)) +interiorB=360-exteriorB +interiorC=(295+(45/60))-BB_BC +interiorD=218-BB_CD +interiorE=(120.5)-BB_DE + +//convert into mins and degrees +deg1=int(exteriorA) +mins1=int((exteriorA-deg1)*60) +deg2=int(interiorA) +mins2=int((interiorA-deg2)*60) +deg3=int(exteriorB) +mins3=int((exteriorB-deg3)*60) +deg4=int(interiorB) +mins4=int((interiorB-deg4)*60) +deg5=int(interiorC) +mins5=int((interiorC-deg5)*60) +deg6=int(interiorD) +mins6=int((interiorD-deg6)*60) +deg7=int(interiorE) +mins7=int((interiorE-deg7)*60) + +n=5 +check=(2*n-4)*90 +summ=interiorA+interiorB+interiorC+interiorD+interiorE + +printf("\n exterior angle A %0.3f degrees %0.3f minutes",deg1,mins1) +printf("\n interior angle A %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n Exterior angle B %0.3f degrees %0.3f minutes",deg3,mins3) +printf("\n interior angle B %0.3f degrees %0.3f minutes",deg4,mins4) +printf("\n interior angle C %0.3f degrees %0.3f minutes",deg5,mins5) +printf("\n interior angle D %0.3f degrees %0.3f minutes",deg6,mins6) +printf("\n interior angle E %0.3f degrees %0.3f minutes",deg7,mins7) +printf("\n %0.3f degrees %0.3f degrees W",check,summ) diff --git a/3782/CH3/EX3.17/Ex3_17.sce b/3782/CH3/EX3.17/Ex3_17.sce new file mode 100644 index 000000000..971780ccd --- /dev/null +++ b/3782/CH3/EX3.17/Ex3_17.sce @@ -0,0 +1,42 @@ + + +// +//given + +FB_AB=45+(30/60) +FB_BC=60+(0/60) +FB_CD=10+(30/60) +FB_DA=75+(45/60) + + +BB_AB=45+(30/60) +BB_BC=60+(0/60) +BB_CD=10+(30/60) +BB_DA=75+(45/60) + + +interiorA=180-(FB_AB+BB_DA) +interiorB=(FB_BC+BB_AB) +interiorC=180-(BB_BC+FB_CD) +interiorD=(FB_DA+BB_CD) + +//convert into mins and degrees +deg1=int(interiorA) +mins1=int((interiorA-deg1)*60) +deg2=int(interiorB) +mins2=int((interiorB-deg2)*60) +deg3=int(interiorC) +mins3=int((interiorC-deg3)*60) +deg4=int(interiorD) +mins4=int((interiorD-deg4)*60) + +//calculations +n=4 +check=(2*n-4)*90 +summ=interiorA+interiorB+interiorC+interiorD + +printf("\n Interior angle A %0.3f degrees %0.3f minutes",deg1,mins1) +printf("\n Interior angle B %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n Interior angle C %0.3f degrees %0.3f minutes",deg3,mins3) +printf("\n Interior angle D %0.3f degrees %0.3f minutes",deg4,mins4) +printf("\n %0.3f degrees %0.3f degrees ",check,summ) diff --git a/3782/CH3/EX3.18/Ex3_18.sce b/3782/CH3/EX3.18/Ex3_18.sce new file mode 100644 index 000000000..59af473ac --- /dev/null +++ b/3782/CH3/EX3.18/Ex3_18.sce @@ -0,0 +1,72 @@ + + +// +//given + +BB_AB=330+(0/60) +BB_BC=48+(0/60) +BB_CD=127+(45/60) +BB_DE=120+(0/60) +BB_EA=229+(30/60) + +FB_AB=150+(0/60) +FB_BC=230+(30/60) +FB_CD=306+(15/60) +FB_DE=298+(0/60) +FB_EA=49+(30/60) + +//calculate +interiorA=BB_EA-FB_AB +interiorB=BB_AB-FB_BC +exteriorC=FB_CD-BB_BC +interiorC=360-(258+(15/60)) +exteriorD=FB_DE-BB_CD +interiorD=360-exteriorD +interiorE=BB_DE-FB_EA + +//convert into mins and degrees +deg1=int(interiorA) +mins1=int((interiorA-deg1)*60) +deg2=int(interiorB) +mins2=int((interiorB-deg2)*60) +deg3=int(exteriorC) +mins3=int((exteriorC-deg3)*60) +deg4=int(interiorC) +mins4=int((interiorC-deg4)*60) +deg5=int(exteriorD) +mins5=int((exteriorD-deg5)*60) +deg6=int(interiorD) +mins6=int((interiorD-deg6)*60) +deg7=int(interiorE) +mins7=int((interiorE-deg7)*60) + +n=5 +check=(2*n-4)*90 +summ=interiorA+interiorB+interiorC+interiorD+interiorE + +printf("\n Interior angle A= %0.3f degrees %0.3f minutes",deg1,mins1) +printf("\n Interior angle B= %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n exterior angle C= %0.3f degrees %0.3f minutes",deg3,mins3) +printf("\n Interior angle C= %0.3f degrees %0.3f minutes",deg4,mins4) +printf("\n exterior angle D= %0.3f degrees %0.3f minutes",deg5,mins5) +printf("\n Interior angle D= %0.3f degrees %0.3f minutes",deg6,mins6) +printf("\n Interior angle E= %0.3f degrees %0.3f minutes",deg7,mins7) +printf("\n %0.3f degrees %0.3f degrees ",check,summ) + +error=541-540 +correction=(-60/5) +printf("\n error= %0.3f degrees",error) +printf("\n %0.3f minutes",correction) + +correctedvalue1=mins1+correction +correctedvalue2=mins2+correction +correctedvalue4=mins4+correction +correctedvalue6=mins6+correction +correctedvalue7=mins7+correction + +printf("\n corrected values are:") +printf("\n Interior angle A= %0.3f degrees %0.3f minutes",deg1,correctedvalue1) +printf("\n Interior angle B= %0.3f degrees %0.3f minutes",deg2,correctedvalue2) +printf("\n Interior angle C= %0.3f degrees %0.3f minutes",deg4,correctedvalue4) +printf("\n Interior angle D= %0.3f degrees %0.3f minutes",deg6,correctedvalue6) +printf("\n Interior angle E= %0.3f degrees %0.3f minutes",deg7,correctedvalue7) diff --git a/3782/CH3/EX3.19/Ex3_19.sce b/3782/CH3/EX3.19/Ex3_19.sce new file mode 100644 index 000000000..596405329 --- /dev/null +++ b/3782/CH3/EX3.19/Ex3_19.sce @@ -0,0 +1,73 @@ + + +// +//given + +BB_AB=13+(0/60) +BB_BC=222+(30/60) +BB_CD=200+(30/60) +BB_DE=62+(45/60) +BB_EA=147+(45/60) + +FB_AB=191+(45/60) +FB_BC=39+(30/60) +FB_CD=22+(15/60) +FB_DE=242+(45/60) +FB_EA=330+(15/60) + +//(a) +interiorA=FB_AB-BB_EA +interiorB=FB_BC-BB_AB +exteriorC=BB_BC-FB_CD +interiorC=360-(200+(15/60)) +interiorD=FB_DE-BB_CD +interiorE=FB_EA-BB_DE + +//convert into mins and degrees +deg1=int(interiorA) +mins1=int((interiorA-deg1)*60) +deg2=int(interiorB) +mins2=int((interiorB-deg2)*60) +deg3=int(exteriorC) +mins3=int((exteriorC-deg3)*60) +deg4=int(interiorC) +mins4=int((interiorC-deg4)*60) +deg6=int(interiorD) +mins6=int((interiorD-deg6)*60) +deg7=int(interiorE) +mins7=int((interiorE-deg7)*60) + +n=5 +check=(2*n-4)*90 +summ=interiorA+interiorB+interiorC+interiorD+interiorE + +printf("\n Interior angle A= %0.3f degrees %0.3f minutes",deg1,mins1) +printf("\n Interior angle B= %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n exterior angle C= %0.3f degrees %0.3f minutes",deg3,mins3) +printf("\n Interior angle C= %0.3f degrees %0.3f minutes",deg4,mins4) +printf("\n Interior angle D= %0.3f degrees %0.3f minutes",deg6,mins6) +printf("\n Interior angle E= %0.3f degrees %0.3f minutes",deg7,mins7) +printf("\n %0.3f degrees %0.3f degrees ",check,summ) +//(b) +printf("\n %0.3f correct %0.3f correct ", FB_DE,FB_EA) + + +AB=FB_EA-180+interiorA +BC=(194+(15/60))-180+interiorB +CD=(40+(45/60))+180-exteriorC +DE=(20+(30/60))+180+interiorD + +deg1=int(AB) +mins1=int((AB-deg1)*60) +deg2=int(BC) +mins2=int((BC-deg2)*60) +deg3=int(CD) +mins3=int((CD-deg3)*60) +deg4=int(DE) +mins4=int((DE-deg4)*60) + +printf("\n corrected values are:") +printf("\n FB_AB= %0.3f degrees %0.3f minutes",deg1,mins1) +printf("\n FB_BC= %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n FB_CD= %0.3f degrees %0.3f minutes",deg3,mins3) +printf("\n FB_DE= %0.3f degrees %0.3f minutes",deg4,mins4) diff --git a/3782/CH3/EX3.2/Ex3_2.sce b/3782/CH3/EX3.2/Ex3_2.sce new file mode 100644 index 000000000..cd9c5a72d --- /dev/null +++ b/3782/CH3/EX3.2/Ex3_2.sce @@ -0,0 +1,29 @@ + +// +// + +//(a) +QB_AB=36+(30/60) +WCB_AB=180+QB_AB +mins=(WCB_AB-int(WCB_AB))*60 +deg=int(WCB_AB) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) +//(b) +QB_BC=43+(30/60) +WCB_BC=180-QB_BC +mins=(WCB_BC-int(WCB_BC))*60 +deg=int(WCB_BC) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) + +//(c) +QB_CD=26+(45/60) +WCB_CD=QB_CD +mins=(WCB_CD-int(WCB_CD))*60 +deg=int(WCB_CD) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) +//(d) +QB_DE=40+(15/60) +WCB_DE=360-QB_DE +mins=(WCB_DE-int(WCB_DE))*60 +deg=int(WCB_DE) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) diff --git a/3782/CH3/EX3.20/Ex3_20.sce b/3782/CH3/EX3.20/Ex3_20.sce new file mode 100644 index 000000000..cf59899d1 --- /dev/null +++ b/3782/CH3/EX3.20/Ex3_20.sce @@ -0,0 +1,86 @@ + + +// +//given + +BB_AB=248+(15/60) +BB_BC=326+(15/60) +BB_CD=46+(0/60) +BB_DE=38+(15/60) +BB_EA=147+(45/60) + +FB_AB=68+(15/60) +FB_BC=148+(45/60) +FB_CD=224+(30/60) +FB_DE=217+(15/60) +FB_EA=327+(45/60) + +//(a) +includedA=-FB_AB+BB_EA +includedB=-FB_BC+BB_AB +includedC=BB_BC-FB_CD +includedD=360-(171+(15/60)) +exteriorD=FB_DE-BB_CD +exteriorE=FB_EA-BB_DE +includedE=360-(289+(30/60)) + +//convert into mins and degrees +deg1=int(includedA) +mins1=int((includedA-deg1)*60) +deg2=int(includedB) +mins2=int((includedB-deg2)*60) +deg3=int(includedC) +mins3=int((includedC-deg3)*60) +deg4=int(exteriorD) +mins4=int((exteriorD-deg4)*60) +deg5=int(includedD) +mins5=int((includedD-deg5)*60) +deg6=int(exteriorE) +mins6=int((exteriorE-deg6)*60) +deg7=int(includedE) +mins7=int((includedE-deg7)*60) + +n=5 +check=(2*n-4)*90 +summ=includedA+includedB+includedC+includedD+includedE + +printf("\n included angle A= %0.3f degrees %0.3f minutes",deg1,mins1) +printf("\n included angle B= %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n included angle C= %0.3f degrees %0.3f minutes",deg3,mins3) +printf("\n exterior angle D= %0.3f degrees %0.3f minutes",deg4,mins4) +printf("\n included angle D= %0.3f degrees %0.3f minutes",deg5,mins5) +printf("\n exterior angle D= %0.3f degrees %0.3f minutes",deg6,mins6) +printf("\n included angle E= %0.3f degrees %0.3f minutes",deg7,mins7) +printf("\n %0.3f degrees %0.3f degrees ",check,summ) + +//(b) + +printf("\n %0.3f correct %0.3f correct %0.3f correct", FB_AB,FB_BC,BB_AB) + + +FB_BC=(328+(45/60))-(326+(15/60)) +FB_CD=(224+(30/60))+FB_BC +BB_CD=227-180 +correctionatD=1 +FB_DE=(217+(15/60))+1 +BB_DE=FB_DE-180 + +deg1=int(FB_AB) +mins1=int((FB_AB-deg1)*60) +deg2=int(FB_CD) +mins2=int((FB_CD-deg2)*60) +deg3=int(BB_CD) +mins3=int((BB_CD-deg3)*60) +deg4=int(FB_DE) +mins4=int((FB_DE-deg4)*60) +deg5=int(BB_DE) +mins5=int((BB_DE-deg5)*60) + +printf("\n correction= %0.3f ",correctionatD) +printf("\n corrected values are:") +printf("\n FB_AB= %0.3f degrees %0.3f minutes",deg1,mins1) +printf("\n FB_CD= %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n BB_CD= %0.3f degrees %0.3f minutes",deg3,mins3) +printf("\n FB_DE= %0.3f degrees %0.3f minutes",deg4,mins4) +printf("\n BB_DE= %0.3f degrees %0.3f minutes",deg5,mins5) +printf("\n AB=100m, BC=100m,CD=50m, scale=20m for plot") diff --git a/3782/CH3/EX3.21/Ex3_21.sce b/3782/CH3/EX3.21/Ex3_21.sce new file mode 100644 index 000000000..30a5bf080 --- /dev/null +++ b/3782/CH3/EX3.21/Ex3_21.sce @@ -0,0 +1,70 @@ + + + +// +//given + +BB_AB=239+(00/60) +BB_BC=317+(00/60) +BB_CD=36+(30/60) +BB_DE=29+(00/60) +BB_EA=138+(45/60) + +FB_AB=59+(00/60) +FB_BC=139+(30/60) +FB_CD=215+(15/60) +FB_DE=208+(0/60) +FB_EA=318+(30/60) + +printf("\n %0.3f correct %0.3f correct %0.3f correct", FB_AB,FB_BC,BB_AB) + + +correctionatC=2+(30/60) +FB_CD=(215+(15/60))+correctionatC +correctionatD=1+(15/60) +FB_DE=208+correctionatD +correctionatE=(15/60) +FB_EA=(318+(30/60))+correctionatE + +//convert into mins and degrees +deg2=int(FB_CD) +mins2=int((FB_CD-deg2)*60) +deg4=int(FB_DE) +mins4=int((FB_DE-deg4)*60) +deg5=int(FB_EA) +mins5=int((FB_EA-deg5)*60) + +printf("\n correctionatC= %0.3f ",correctionatC) +printf("\n correctionatD= %0.3f ",correctionatD) +printf("\n correctionatE= %0.3f ",correctionatE) +printf("\n corrected values are:") +printf("\n BB_CD= %0.3f BB_DE= %0.3f BB_EA= %0.3f ",217.75,209.25,138.75) +printf("\n FB_CD= %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n FB_DE= %0.3f degrees %0.3f minutes",deg4,mins4) +printf("\n FB_EA= %0.3f degrees %0.3f minutes",deg5,mins5) +printf("\n declination= -10 degrees W") + +BB_AB=239+(00/60)-10 +BB_BC=317+(00/60)-10+correctionatC +BB_CD=36+(30/60)-10+correctionatD +BB_DE=29+(00/60)-10 +BB_EA=138+(45/60)-10 + +FB_AB=59-10 +FB_BC=(139+(30/60))-10 +FB_CD=(215+(15/60))-10+correctionatC +FB_DE=(208+(0/60))-10+correctionatD +FB_EA=(318+(30/60))-10+correctionatE + +printf("\n true bearing values:") +printf("\n BB_AB= %0.3f ",BB_AB) +printf("\n BB_BC= %0.3f ",BB_BC) +printf("\n BB_CD= %0.3f ",BB_CD) +printf("\n BB_DE= %0.3f ",BB_DE) +printf("\n BB_EA= %0.3f ",BB_EA) + +printf("\n FB_AB= %0.3f ",FB_AB) +printf("\n FB_BC= %0.3f ",FB_BC) +printf("\n FB_CD= %0.3f ",FB_CD) +printf("\n FB_DE= %0.3f ",FB_DE) +printf("\n FB_EA= %0.3f ",FB_EA) diff --git a/3782/CH3/EX3.22/Ex3_22.sce b/3782/CH3/EX3.22/Ex3_22.sce new file mode 100644 index 000000000..4b76f1059 --- /dev/null +++ b/3782/CH3/EX3.22/Ex3_22.sce @@ -0,0 +1,39 @@ + + +// +//given + +BB_AB=45+(30/60) +BB_BC=60+(40/60) +BB_CD=3+(20/60) +BB_DA=85+(00/60) + + +FB_AB=45+(30/60) +FB_BC=60+(0/60) +FB_CD=5+(30/60) +FB_DA=83+(30/60) + + +printf("\n %0.3f correct %0.3f correct %0.3f correct", FB_AB,FB_BC,BB_AB) + + +correctionatC=-0+(40/60) +FB_CD=(5+(30/60))+correctionatC +correctionatD=1+(30/60) +FB_DA=83+(30/60)+correctionatD + +//convert into mins and degrees + +deg2=int(FB_CD) +mins2=int((FB_CD-deg2)*60) +deg4=int(FB_DA) +mins4=int((FB_DA-deg4)*60) + + +printf("\n correctionatC= %0.3f ",correctionatC) +printf("\n correctionatD= %0.3f ",correctionatD) + +printf("\n corrected values are:") +printf("\n BB_CD=N %0.3f W BB_BC=N %0.3f degrees W",4.83,60) +printf("\n FB_CD=N %0.3f W FB_DA=N %0.3f degrees W",4.83,85) diff --git a/3782/CH3/EX3.23/Ex3_23.sce b/3782/CH3/EX3.23/Ex3_23.sce new file mode 100644 index 000000000..14e034f02 --- /dev/null +++ b/3782/CH3/EX3.23/Ex3_23.sce @@ -0,0 +1,32 @@ + + +// +//given + +BB_AB=41+(15/60) +BB_BC=79+(30/60) +BB_CD=20+(0/60) +BB_DA=80+(00/60) + + +FB_AB=40+(30/60) +FB_BC=80+(45/60) +FB_CD=19+(30/60) +FB_DA=80+(00/60) + + +printf("\n %0.3f correct %0.3f correct %0.3f correct", FB_DA,FB_AB,BB_DA) + +//calculations +correctionatB=-0+(45/60) +FB_BC=(80+(45/60))+correctionatB +correctionatC=0+(30/60) +FB_CD=19+(30/60)+correctionatC + + +printf("\n correctionatB= %0.3f ",correctionatB) +printf("\n correctionatC= %0.3f ",correctionatC) + +printf("\n corrected values are:") +printf("\n BB_AB=N %0.3f E BB_BC=N %0.3f degrees E",40.5,80) +printf("\n FB_CD=N %0.3f E FB_DA=S %0.3f degrees E",20,80) diff --git a/3782/CH3/EX3.24/Ex3_24.sce b/3782/CH3/EX3.24/Ex3_24.sce new file mode 100644 index 000000000..390f920e5 --- /dev/null +++ b/3782/CH3/EX3.24/Ex3_24.sce @@ -0,0 +1,69 @@ + + +// +//given + +BB_AB=239+(00/60) +BB_BC=317+(0/60) +BB_CD=36+(30/60) +BB_DE=29+(00/60) +BB_EA=138+(45/60) + +FB_AB=59+(0/60) +FB_BC=139+(30/60) +FB_CD=215+(15/60) +FB_DE=208+(0/60) +FB_EA=318+(30/60) + +//(a) +includedA=-FB_AB+BB_EA +includedB=-FB_BC+BB_AB +includedC=BB_BC-FB_CD +includedD=360-(171+(30/60)) +exteriorD=FB_DE-BB_CD +exteriorE=FB_EA-BB_DE +includedE=360-(289+(30/60)) + + +//convert into mins and degrees +deg1=int(includedA) +mins1=int((includedA-deg1)*60) +deg2=int(includedB) +mins2=int((includedB-deg2)*60) +deg3=int(includedC) +mins3=int((includedC-deg3)*60) +deg4=int(exteriorD) +mins4=int((exteriorD-deg4)*60) +deg5=int(includedD) +mins5=int((includedD-deg5)*60) +deg6=int(exteriorE) +mins6=int((exteriorE-deg6)*60) +deg7=int(includedE) +mins7=int((includedE-deg7)*60) + +n=5 +check=(2*n-4)*90 +summ=includedA+includedB+includedC+includedD+includedE + +printf("\n included angle A= %0.3f degrees %0.3f minutes",deg1,mins1) +printf("\n included angle B= %0.3f degrees %0.3f minutes",deg2,mins2) +printf("\n included angle C= %0.3f degrees %0.3f minutes",deg3,mins3) +printf("\n exterior angle D= %0.3f degrees %0.3f minutes",deg4,mins4) +printf("\n included angle D= %0.3f degrees %0.3f minutes",deg5,mins5) +printf("\n exterior angle D= %0.3f degrees %0.3f minutes",deg6,mins6) +printf("\n included angle E= %0.3f degrees %0.3f minutes",deg7,mins7) +printf("\n %0.3f degrees %0.3f degrees ",check,summ) +//(b) +printf("\n %0.3f correct %0.3f correct %0.3f correct", FB_AB,FB_BC,BB_AB) + + + +FB_CD=(215+(15/60))+(2+(30/60)) +BB_CD=(37+(45/60)) +correctionatD=(1+(15/60)) +FB_DE=(208+(0/60))+correctionatD +FB_EA=(318+(30/60))+(0+(15/60)) + + +printf("\n correction= %0.3f ",correctionatD) +printf("\n corrected values are:") diff --git a/3782/CH3/EX3.3/Ex3_3.sce b/3782/CH3/EX3.3/Ex3_3.sce new file mode 100644 index 000000000..cd9c5a72d --- /dev/null +++ b/3782/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,29 @@ + +// +// + +//(a) +QB_AB=36+(30/60) +WCB_AB=180+QB_AB +mins=(WCB_AB-int(WCB_AB))*60 +deg=int(WCB_AB) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) +//(b) +QB_BC=43+(30/60) +WCB_BC=180-QB_BC +mins=(WCB_BC-int(WCB_BC))*60 +deg=int(WCB_BC) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) + +//(c) +QB_CD=26+(45/60) +WCB_CD=QB_CD +mins=(WCB_CD-int(WCB_CD))*60 +deg=int(WCB_CD) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) +//(d) +QB_DE=40+(15/60) +WCB_DE=360-QB_DE +mins=(WCB_DE-int(WCB_DE))*60 +deg=int(WCB_DE) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) 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) diff --git a/3782/CH3/EX3.5/Ex3_5.sce b/3782/CH3/EX3.5/Ex3_5.sce new file mode 100644 index 000000000..08e0f3bed --- /dev/null +++ b/3782/CH3/EX3.5/Ex3_5.sce @@ -0,0 +1,30 @@ + +// +// + +//(a) +BB_AB=40+(30/60) +FB_AB=BB_AB+180 +mins=(FB_AB-int(FB_AB))*60 +deg=int(FB_AB) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) +//(b) +BB_BC=310+(45/60) +FB_BC=BB_BC-180 +mins=(FB_BC-int(FB_BC))*60 +deg=int(FB_BC) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) + +//(c) +BB_CD=145+(45/60) +FB_CD=BB_CD+180 +mins=(FB_CD-int(FB_CD))*60 +deg=int(FB_CD) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) + +//(d) +BB_DE=215+(30/60) +FB_DE=BB_DE-180 +mins=(FB_DE-int(FB_DE))*60 +deg=int(FB_DE) +printf("\n %0.3f degrees %0.3f minutes W",deg,mins) diff --git a/3782/CH3/EX3.6/Ex3_6.sce b/3782/CH3/EX3.6/Ex3_6.sce new file mode 100644 index 000000000..2e1e1227a --- /dev/null +++ b/3782/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,31 @@ + +// +// + +//(a) +BB_AB=30+(30/60) +FB_AB=BB_AB +mins=(FB_AB-int(FB_AB))*60 +deg=int(FB_AB) +printf("\n S %0.3f degrees %0.3f minutes E",deg,mins) + +//(b) +BB_BC=40+(15/60) +FB_BC=BB_BC +mins=(FB_BC-int(FB_BC))*60 +deg=int(FB_BC) +printf("\n N %0.3f degrees %0.3f minutes W",deg,mins) + +//(c) +BB_CD=60+(45/60) +FB_CD=BB_CD +mins=(FB_CD-int(FB_CD))*60 +deg=int(FB_CD) +printf("\n S %0.3f degrees %0.3f minutes W",deg,mins) + +//(d) +BB_DE=45+(30/60) +FB_DE=BB_DE +mins=(FB_DE-int(FB_DE))*60 +deg=int(FB_DE) +printf("\n N %0.3f degrees %0.3f minutes E",deg,mins) diff --git a/3782/CH3/EX3.7/Ex3_7.sce b/3782/CH3/EX3.7/Ex3_7.sce new file mode 100644 index 000000000..08ba2998c --- /dev/null +++ b/3782/CH3/EX3.7/Ex3_7.sce @@ -0,0 +1,18 @@ + +// + +// + +magneticbearing=135+0.5 +declination=5+0.25 +truebearing=magneticbearing-declination +deg=int(truebearing) +mins=truebearing-deg +printf("\n truebearing of AB= %0.3f degrees %0.3f minutes",deg,15.0) + +truebearing=210+(45/60) +declination=8+(15/60) +magnetic_bearing=truebearing+declination +deg=int(magnetic_bearing) +mins=magnetic_bearing-deg +printf("\n magnetic bearing of AB= %0.3f degrees %0.3f minutes",deg,mins) diff --git a/3782/CH3/EX3.8/Ex3_8.sce b/3782/CH3/EX3.8/Ex3_8.sce new file mode 100644 index 000000000..a04947f13 --- /dev/null +++ b/3782/CH3/EX3.8/Ex3_8.sce @@ -0,0 +1,12 @@ + +// +// + +RB_CD=30+(15/60) +WCB_CD=180+RB_CD +declination=10+(15/60) +TB=WCB_CD+declination +truebearing=TB-180 +deg=int(truebearing) +mins=(truebearing-deg)*60 +printf("\n Required true bearing= S %0.3f degrees %0.3f minutes W",deg,mins) 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) |