public static double power(double number, int power) {
		if (power < 0) {
			throw new IllegalArgumentException("Error: int cannot be < 0!");
		}
		double answer = 1;
		for (int j = 0; j < power; j++) {
			answer *= number;
		}
		return answer;
	}