VBS TUTORIAL: Functions-derived mathematical functions _vbs

Source: Internet
Author: User
Tags mathematical functions

Deriving mathematical functions

The following are non-intrinsic mathematical functions derived from intrinsic mathematical functions:

function the derived equivalent formula
Secant (secant) SEC (x) = 1/cos (x)
Cosecant (more cut) Cosec (x) = 1/sin (x)
Cotangent (cotangent) Cotan (x) = 1/tan (x)
Inverse Sine (anyway chord) Arcsin (x) = Atn (X/SQR (-X * x + 1))
Inverse cosine (anti-cosine) Arccos (x) = Atn (-X/SQR (-X * x + 1)) + 2 * ATN (1)
Inverse secant (anyway cut) ARCSEC (x) = Atn (X/SQR (x * X-1)) + SGN ((x)-1) * (2 * ATN (1))
Inverse cosecant (anti-surplus cut) Arccosec (x) = Atn (X/SQR (x * X-1)) + (SGN (x)-1) * (2 * ATN (1))
Inverse cotangent (anti-cotangent) Arccotan (x) = Atn (x) + 2 * ATN (1)
Hyperbolic Sine (hyperbolic sine) HSin (x) = (exp (x)-exp (-X))/2
Hyperbolic cosine (hyperbolic cosine) Hcos (x) = (exp (x) + EXP (-X))/2
Hyperbolic Tangent (hyperbolic tangent) Htan (x) = (exp (x)-exp (-X))/(EXP (X) + exp (-X))
Hyperbolic secant (hyperbolic secant) Hsec (x) = 2/(exp (x) + exp (-X)
Hyperbolic cosecant (double curved Cut) Hcosec (x) = 2/(exp (x)-exp (-X)
Hyperbolic cotangent (hyperbolic cotangent) Hcotan (x) = (exp (x) + exp (-X))/(exp (x)-exp (-X))
Inverse hyperbolic Sine (inverse hyperbolic sine) Harcsin (x) = Log (x + SQR (x * x + 1))
Inverse hyperbolic cosine (inverse hyperbolic cosine) Harccos (x) = Log (x + SQR (x * X-1))
Inverse hyperbolic Tangent (inverse hyperbolic tangent) Harctan (x) = Log ((1 + x)/(1-x))/2
Inverse hyperbolic secant (anti-hyperbolic secant) Harcsec (x) = Log ((SQR * x + 1) + 1)/x)
Inverse hyperbolic cosecant (anti-hyperbolic cut) Harccosec (x) = Log ((SGN (x) * SQR (x * x + 1) + 1)/x)
Inverse hyperbolic cotangent (anti-hyperbolic cotangent) Harccotan (x) = Log ((x + 1)/(X-1))/2
Logarithm with N as the base Logn (x) = log (x)/log (N)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.