/**
 * This function checks if two numbers are equal within a given epsilon value.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @param epsilon The epsilon value for comparison.
 * @return True if the two numbers are equal within epsilon, False otherwise.
 */
fun epsilonCheck(num1: Double, num2: Double, epsilon: Double): Boolean {

    val diff = Math.abs(num1 - num2)
    return diff <= epsilon
}
/**
 * This function checks if two numbers are equal within a given epsilon value.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @param epsilon The epsilon value for comparison.
 * @return True if the two numbers are equal within epsilon, False otherwise.
 */
fun epsilonCheck(num1: Double, num2: Double, epsilon: Double): Boolean {
/**
 * This function checks if two numbers are equal within a given epsilon value.
 *
 * @param num1 The first number.
 * @param num2 The second number.
 * @param epsilon The epsilon value for comparison.
 * @return True if the two numbers are equal within epsilon, False otherwise.
 */
fun epsilonCheck(num1: Double, num2: Double, epsilon: Double): Boolean {

    val diff = Math.abs(num1 - num2)
    return diff <= epsilon
}