Java examples for Language Basics:Math
Find exponential value of a number using Math.exp
public class Main { public static void main(String[] args) { /*ww w.j a v a 2 s . c om*/ System.out.println("Exponential of 2 is : " + Math.exp(2)); } }