Results 1 to 4 of 4

Thread: [RESOLVED] Atan

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    817

    Resolved [RESOLVED] Atan

    Do I not rember my trigonometry or is there no code for ATAN ?

  2. #2
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    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!!
    Show Appreciation. Rate Posts.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    817

    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.??

  4. #4
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Atan

    Quote 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
  •  



Click Here to Expand Forum to Full Width