def valueFunction1(v,alpha,_lambda,beta):
    """
    The value function used in prospect theory
    :param v: Value
    :param alpha:
    :param _lambda:
    :return:
    """
    if v>=0:
        return v**alpha
    else:
        return -_lambda*(-v)**beta