|
-
Sep 25th, 2006, 05:41 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Atan
Do I not rember my trigonometry or is there no code for ATAN ?
-
Sep 25th, 2006, 05:51 PM
#2
Re: Atan
VB 6 have Math.Atn and .Net has Math.Atan method.
Or are you looking for pure Trig based functions to calculate Tan-1. Take a look here.
The theory in the link looks kinda too much!!
-
Sep 25th, 2006, 06:06 PM
#3
Thread Starter
Fanatic Member
Re: Atan
Could have sorted this out. Will check tomorrow. Why don't they have math.ASin, Math.ACos....etc
Don't understand, most of those functions work on there own without math.??
-
Sep 26th, 2006, 03:12 AM
#4
Re: Atan
 Originally Posted by sgrya1
Why don't they have math.ASin, Math.ACos....etc
I don't know, maybe to save code ? At any rate you can derive ASIN and ACOS from ATAN. For example, if you want to calculate a knowing that a=ASIN(x), then
tan(a) = sin(a) / cos(a) = sin(a) / Sqrt(1 - sin2(a)) = x / Sqrt(1 - x2)
so that
a = ATAN (x / Sqrt(1 - x2))
And for ACOS it's analogous.
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
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
|