def p(parameters, pi):
    """
    Returns an expression for the pressure in Pa from the Exner Pi.

    :arg parameters: a CompressibleParameters object.
    :arg pi: the Exner pressure.
    """

    kappa = parameters.kappa
    p_0 = parameters.p_0

    return p_0 * pi ** (1 / kappa)