package ch07_07;
public class MathTest {
	public static void main(String[] args) {
		System.out.println("E的值："+Math.E);
		System.out.println("Pi的值："+Math.PI);
		System.out.println("产生的一个随机数："+Math.random());
		System.out.println("e的指数5.6的值："+Math.exp(5.6));
		System.out.println("5的平方根："+Math.sqrt(5));
		System.out.println("2的10次幂："+Math.pow(2, 10));
		System.out.println("100.56的取整："+Math.round(100.56));
	}
}