Ask Experts Questions for FREE Help !
Ask
    director's Avatar
    director Posts: 1, Reputation: 1
    New Member
     
    #1

    Apr 12, 2003, 02:21 AM
    Math function in vb
    For 'Non intrinsic mathematical function" which library I have to insert/use ?
    YDG's Avatar
    YDG Posts: 4, Reputation: 1
    New Member
     
    #2

    Apr 14, 2003, 08:21 PM
    math function in vb
    I'm not aware of such a library (couldn't find anything in help for vb6, if you're talking about .net then I have no idea). You may have to write your own functions (which is what the help file suggests). Someone out there has probably written a dll for it, but I don't know about it (which isn't actually saying much ;)). Formulas are here:

    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)

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

TV Out Function On [ 0 Answers ]

I've got a DVD drive and the PowerDVD 5.0 player and every time I try to watch a newer DVD, I get the error message "TV out function error", I look at the details and it says I can't play copyright protected DVD's with the TVout function enabled. The weird thing is, ALL my graphics adapters just...

Multi-function Printers [ 6 Answers ]

As a computer illiterate geriatric septugenarian, I crave your help and advice. I have recently upgraded to Windows XP and am having trouble with both my Lexmark printer & my scanner. Having made the decision to replace the above, I would appreciate comments from those of you who have experience...

Trigonometric function [ 1 Answers ]

Please, I don't understand vector. I don't know how to solve or use it. :'( here are the question that I need help on. 1. Vector A points along the +y axis and has a magnitude of 100.00 units. Vector B points at an angle of 60.0 degrees above the + x axis and has a magnitude of 200.0 units....


View more questions Search