What value will be return by exp(x) ?
Answers
Answered by
0
HEY MATE YOUR ANSWER IS
log10(x)
HOPE THIS HELPS ❤️
PLEASE MARK AS BRAINLIEST ❤️❤️
Answered by
0
Return value by exp(x) function
Explanation:
The double exp(double n) function in the C library returns the value of e raised to the nth power.
- Syntax - double exp(double n)
- Parameters - (n) − That is the value of the floating point.
- Return Value - The exp function returns the e raised to the power. If n magnitude is too large, an error in range will be returned by the exp function.
Example:
- double x = 0;
- printf("Exponential value of %lf is %lf\n", x, exp(x));
- printf("Exponential value of %lf is %lf\n", x+1, exp(x+1));
Output:
- Exponential value of 0.000000 is 1.000000
- Exponential value of 1.000000 is 2.718282
Similar questions