how to raise to power in java code example Example: java elevate to power Math.pow(double a, double b)