Results 1 to 2 of 2

Thread: Arccosine

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2001
    Location
    Sunny Queensland
    Posts
    91

    Question

    This appears to have been covered in another thread but I am new to VB and confused.
    The following formulas are from my excel program.How do i program them in VB?

    ASIN(0.25736)*180/PI()
    ACOS(0.34632)*180/PI()

    Thankyou

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Code:
    The following is a list of nonintrinsic math functions that can be derived from the intrinsic math functions:
    
    Function Derived equivalents 
    Secant Sec(X) = 1 / Cos(X) 
    Cosecant Cosec(X) = 1 / Sin(X) 
    Cotangent Cotan(X) = 1 / Tan(X) 
    Inverse Sine Arcsin(X) = Atn(X / Sqr(-X * X + 1)) 
    Inverse Cosine Arccos(X) = Atn(-X / Sqr(-X * X + 1)) + 2 * Atn(1) 
    Inverse Secant Arcsec(X) = Atn(X / Sqr(X * X – 1)) + Sgn((X) – 1) * (2 * Atn(1)) 
    Inverse Cosecant Arccosec(X) = Atn(X / Sqr(X * X - 1)) + (Sgn(X) – 1) * (2 * Atn(1)) 
    Inverse Cotangent Arccotan(X) = Atn(X) + 2 * Atn(1) 
    Hyperbolic Sine HSin(X) = (Exp(X) – Exp(-X)) / 2  
    Hyperbolic Cosine HCos(X) = (Exp(X) + Exp(-X)) / 2 
    Hyperbolic Tangent HTan(X) = (Exp(X) – Exp(-X)) / (Exp(X) + Exp(-X)) 
    Hyperbolic Secant HSec(X) = 2 / (Exp(X) + Exp(-X)) 
    Hyperbolic Cosecant HCosec(X) = 2 / (Exp(X) – Exp(-X)) 
    Hyperbolic Cotangent HCotan(X) = (Exp(X) + Exp(-X)) / (Exp(X) – Exp(-X)) 
    Inverse Hyperbolic Sine HArcsin(X) = Log(X + Sqr(X * X + 1)) 
    Inverse Hyperbolic Cosine HArccos(X) = Log(X + Sqr(X * X – 1)) 
    Inverse Hyperbolic Tangent HArctan(X) = Log((1 + X) / (1 – X)) / 2 
    Inverse Hyperbolic Secant HArcsec(X) = Log((Sqr(-X * X + 1) + 1) / X) 
    Inverse Hyperbolic Cosecant HArccosec(X) = Log((Sgn(X) * Sqr(X * X + 1) + 1) / X) 
    Inverse Hyperbolic Cotangent HArccotan(X) = Log((X + 1) / (X – 1)) / 2 
    Logarithm to base N LogN(X) = Log(X) / Log(N)
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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