|
-
Feb 23rd, 2004, 03:19 PM
#1
Thread Starter
Addicted Member
Calculate Tangent in VB.NET ***RESOLVED***
I am trying to figure out the azymuth betwen two points using the following
azymuth = 90 - (tanE-1(DeltaN/DeltaE)
i have been given the answer of 87.7930 when the delatN is 10 and the DeltaE is 259.58 but i have no idea how to get the answer.
System.Math.Tan(10/259.58) and i get 0.03854283 when the anwer should be 2.2062
I know tan is to be raised to the neg1 exponent, is that implied in the tangent function?I can't evn get my calculato to come up with the right answer.
Help!
Thanks
Completely lost in trig
PS - i also posted this to the maths forum but i think it should be here
Last edited by Halon; Feb 23rd, 2004 at 04:39 PM.
Soylent Green tastes like chicken
-
Feb 23rd, 2004, 03:47 PM
#2
PowerPoster
You need to convert the default radians to degrees. Then your 0.03854283 will come out as 2.2.
Radians * (180 / Math.PI) should do it.
-
Feb 23rd, 2004, 03:52 PM
#3
Thread Starter
Addicted Member
Right On!
Where do i plug that formul into mine?
Soylent Green tastes like chicken
-
Feb 23rd, 2004, 04:01 PM
#4
PowerPoster
Try this:
azymuth = 90 - (tanE-1(DeltaN/DeltaE)
azymuth *= (180 / System.Math.PI)
-
Feb 23rd, 2004, 04:16 PM
#5
Thread Starter
Addicted Member
Can't get it to work but i will play with it .... thanks!!
Soylent Green tastes like chicken
-
Feb 23rd, 2004, 04:38 PM
#6
Thread Starter
Addicted Member
got it thanks!! You were right on the money
Soylent Green tastes like chicken
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|