def EQ100(T, A=<NUM_LIT:0>, B=<NUM_LIT:0>, C=<NUM_LIT:0>, D=<NUM_LIT:0>, E=<NUM_LIT:0>, F=<NUM_LIT:0>, G=<NUM_LIT:0>, order=<NUM_LIT:0>):
if order == <NUM_LIT:0>:<EOL><INDENT>return A + T*(B + T*(C + T*(D + T*(E + T*(F + G*T)))))<EOL><DEDENT>elif order == <NUM_LIT:1>:<EOL><INDENT>return B + T*(<NUM_LIT:2>*C + T*(<NUM_LIT:3>*D + T*(<NUM_LIT:4>*E + T*(<NUM_LIT:5>*F + <NUM_LIT:6>*G*T))))<EOL><DEDENT>elif order == -<NUM_LIT:1>:<EOL><INDENT>return T*(A + T*(B/<NUM_LIT:2> + T*(C/<NUM_LIT:3> + T*(D/<NUM_LIT:4> + T*(E/<NUM_LIT:5> + T*(F/<NUM_LIT:6> + G*T/<NUM_LIT:7>))))))<EOL><DEDENT>elif order == -<NUM_LIT>:<EOL><INDENT>return A*log(T) + T*(B + T*(C/<NUM_LIT:2> + T*(D/<NUM_LIT:3> + T*(E/<NUM_LIT:4> + T*(F/<NUM_LIT:5> + G*T/<NUM_LIT:6>)))))<EOL><DEDENT>else:<EOL><INDENT>raise Exception(order_not_found_msg)<EOL><DEDENT>
r'''DIPPR Equation # 100. Used in calculating the molar heat capacities
    of liquids and solids, liquid thermal conductivity, and solid density.
    All parameters default to zero. As this is a straightforward polynomial,
    no restrictions on parameters apply. Note that high-order polynomials like
    this may need large numbers of decimal places to avoid unnecessary error.

    .. math::
        Y = A + BT + CT^2 + DT^3 + ET^4 + FT^5 + GT^6

    Parameters
    ----------
    T : float
        Temperature, [K]
    A-G : float
        Parameter for the equation; chemical and property specific [-]
    order : int, optional
        Order of the calculation. 0 for the calculation of the result itself;
        for 1, the first derivative of the property is returned, for
        -1, the indefinite integral of the property with respect to temperature
        is returned; and for -1j, the indefinite integral of the property
        divided by temperature with respect to temperature is returned. No 
        other integrals or derivatives are implemented, and an exception will 
        be raised if any other order is given.

    Returns
    -------
    Y : float
        Property [constant-specific; if order == 1, property/K; if order == -1,
                  property*K; if order == -1j, unchanged from default]

    Notes
    -----
    The derivative with respect to T, integral with respect to T, and integral
    over T with respect to T are computed as follows. All derivatives and 
    integrals are easily computed with SymPy.

    .. math::
        \frac{d Y}{dT} = B + 2 C T + 3 D T^{2} + 4 E T^{3} + 5 F T^{4} 
        + 6 G T^{5}

    .. math::
        \int Y dT = A T + \frac{B T^{2}}{2} + \frac{C T^{3}}{3} + \frac{D 
        T^{4}}{4} + \frac{E T^{5}}{5} + \frac{F T^{6}}{6} + \frac{G T^{7}}{7}

    .. math::
        \int \frac{Y}{T} dT = A \log{\left (T \right )} + B T + \frac{C T^{2}}
        {2} + \frac{D T^{3}}{3} + \frac{E T^{4}}{4} + \frac{F T^{5}}{5} 
        + \frac{G T^{6}}{6}

    Examples
    --------
    Water liquid heat capacity; DIPPR coefficients normally listed in J/kmol/K.

    >>> EQ100(300, 276370., -2090.1, 8.125, -0.014116, 0.0000093701)
    75355.81000000003

    References
    ----------
    .. [1] Design Institute for Physical Properties, 1996. DIPPR Project 801
       DIPPR/AIChE