Get Euler's number e raised to the power of a double value in Java
Description
The following code shows how to get Euler's number e raised to the power of a double value.
Example
/*w ww.j a v a 2 s .c om*/
public class Main {
public static void main(String[] args) {
System.out.println("exp(y) = " +
Math.exp(0.2));
}
}
The code above generates the following result.