I should have learned when PO sister came to lecture in March.But it was more difficult to add oneself lazy, so I qaq.Now I have to get it over with again.First, the polynomial asks Ln.Set g (x) =lnf (x)We can get the G ' (x) =f ' (x)/F (x) on both
C language exp () function: The second power function of E (the x-th square value at the end of E)header file:
#include
EXP () is used to calculate the X-square value, the ex value, at the base of E, and then return the result. Its
In MATLAB we often need to use the number of natural logarithm of the base e, the need to enter the different power of E, then we in MATLAB specifically how to operate it. Let's take a look at the different examples below.
e Below we have an
Introduction of EXP
function function: Returns the n power of E. The constant e equals 2.71828182845904 and is the base of the natural logarithm.
function syntax
EXP (number)
Parameter description
Number is the exponent of base e.
Add that to
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
21. Returns a digital inverse cosine value
Sql> select cosh from dual;
COSH (20)
---------
242582598
22.EXP
Returns the n-th square root of a number E
Sql> Select exp (2), exp (1) from dual;
EXP (2) exp (1)
--------- ---------
7.3890561 2.7
Sin cos exp is calculated using the Taylor Formula and mclawin formula. To prevent the power operation index from being too high, it is easy to cause overflow when a large input parameter is calculated. Considering that sin and cos both use 2 * PI
[C language library function source code]
[This program is compiled in Dev C ++ 4.9.9.2]
Double my_exp (Double X)
{
Register double ret, value;
_ ASM __(
"Fldl2e ;"
"Fmul % ST (1 );"
"FST % ST (1);/n/t"
"Frndint ;"
"Fxch;/n/t"
"Fsub % ST (1
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.