def bellmf(x, parameters):
    """
    Bell shaped membership function

    :param x:
    :param parameters:
    :return:
    """
    return 1 / (1 + abs((x - parameters[2]) / parameters[0]) ** (2 *
        parameters[1]))
