Results 1 to 2 of 2

Thread: arcus sinus function

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2006
    Posts
    1

    arcus sinus function

    i wont to write function that will calculate this:

    b1=asn(a*c/b/d*m/vo)
    asn is arcus sinus funcion

    asn(x)=atn(x/sqr(-x*x+1))

    i write it like this but it tell me error--->type mismash

    function asn$(x)
    d=atn(x/sqr(-x*x+1))*180/3.141592
    asn$=str$(d)
    end function

    b1=asn$(a*c/b*m/vo)-------->what is wrong with this-->it tell me "duplicate definition"

    help me please

  2. #2
    Frenzied Member zaza's Avatar
    Join Date
    Apr 2001
    Location
    Borneo Rainforest Habits: Scratching
    Posts
    1,486

    Re: arcus sinus function

    Er...what are you coding in? If you are using VB.Net you can use the Math namespace.

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