VBS TUTORIAL: function-exp function _vbs

Source: Internet
Author: User
Tags natural logarithm

Exp function

Returns the power exponent of e(the base of natural logarithm).

Exp(number)

The number argument can be any valid numeric expression.

Description

If the number argument exceeds 709.782712893, an error occurs. The value of constant e is about 2.718282.

Attention The Exp function completes the inverse of the Log function and is sometimes cited as a counter number form.

The following example uses the Exp function to return the power of E:

Dim MyAngle, MyHSin  Defines an angle in radians. MyAngle = 1.3        'calculates the sine of a hyperbolic curve.MyHSin = (Exp(MyAngle) - Exp(-1 * MyAngle)) / 2 

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.