2의 3승 = 2 2 2
√4 = √(2^2 )=2
a의 x승 -> a: 밑, x: 지수
log2^4 = 2
log10^1000 = 3
//제곱
System.out.println(Math.pow(2,3)); //8.0
System.out.println(Math.pow(2, -3)); //0.125
System.out.println(Math.pow(-2, -3)); //-0.125
//제곱근
System.out.println(Math.sqrt(16)); //4.0
System.out.println(Math.pow(16, 1.0/2)); //4.0
//로그
System.out.println(Math.E); //2.718281828459045
System.out.println(Math.log(2.718281828459045); //1.0
System.out.println(Math.log10(1000)); //3.0