def bbars(taper):

    """
    Function to calculate coefficients of deflection terms for a tapered
    cantilever beam under tip load.

    This function is a dependency used only by coefficients_simple above.
    """

    temp    = ((taper+1)/(taper-1))
    temp    = temp*temp*temp
    b1bar   = temp*(taper-1.0)*(taper-2.0)
    bmbar   = taper*temp/(taper+1)#(taper+1)**2/(taper-1)**3
    blbar   = temp                #((taper+1)/(taper-1))**3
    b0bar   = -temp*0.5*taper
    brbar   = -temp
    return b0bar, brbar, b1bar, blbar, bmbar