/** * Write a description of class Core here. * * @author (your name) * @version (a version number or a date) */ public class Core { /** * Constructor for objects of class Core */ public Core() { } public static double add(double x, double y) { return x + y; } public static double subtract(double x, double y) { return x - y; } public static double divide(double x, double y) { return x / y; } public static double multiply(double x, double y) { return x * y; } public static double squareRoot(double x) { return Math.sqrt(x); } public static double exponentiation(double x, double y) { return Math.pow(x, y); } public static double inverse(double x) { return 1 / x; } public static double reverse(double x) { return -1*x; } }