<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fap_davies(Z, fmax, t, y, dy, normalization='standard'):
 """Davies upper-bound to the false alarm probability (Eqn 5 of Baluev 2008) """

    N = len(t)
    fap_s = fap_single(Z, N, normalization=normalization)
    tau = tau_davies(Z, fmax, t, y, dy, normalization=normalization)
    return fap_s + tau