package explore;

/*
 * Demonstrates some of Java's math API.
 * @author Michael Jenkin and Hamzeh Roumani
 * @version 0.1
 * @since Fall 2014
 */
public class App4
{
	public static void main(String[] args)
	{
		int n = 2;
		double x = 2.5;
		
		System.out.printf("The square root of %d is %.4f\n", n, Math.sqrt(n));
		System.out.printf("%d raised to %.2f = %f\n", n, x, Math.pow(n,  x));
			
	}
}