===== direct======
"bearing 1"?(arrow)Z(input command)
"distance 1"?(arrow)Y(input command)
"latit":YCosZ(output command)
"dipat":YSinZ(output command)
ok this is actually to calculate a missing line for a polygon using the trigonometry method. latit is the y-axis while dipat is the x-axis.
i just insert all the line of the polygon in bearing and distance to calculate the missing line.
so how do i loop the program so it would show:
bearing 1?
145 00 00
distance 1?
25.000
latit
-20.47880
dipat 14.33941
bearing 2?
distance 2?
.
.
.
.
bearing n?
distance n?
stop until i press execute without inserting any value.
after that i need to use all this latit and dipat value to where all the latit values are added together and the dipat values added together.
the values added would be used to calculate the missing line and would shows the missing line bearing and distance with the formula below.
bearing of missing line:
tan-1 (dipat/latit)
distance of missing line:
......
thats all... i hope it aint confusing... cos all help are appreciated... just need to know how to loop and stop the loop.
one more thing where can i find the source code for MCL??
