Check out example codes for "java exponencial". It will help you in understanding the concepts better.

Code Example 1

//elevar un número x a la potencia y   
System.out.println("pow(10.0, 3.5) es " +  Math.pow(10.0,3.5));

Learn ReactJs, React Native from akashmittal.com