<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def funTransQuadD(k, s):
 """ Defocusing quad in X, focusing in Y :param k: k1, in [T/m] :param s: width, in [m] :return: 2x2 numpy array """

    sqrtk = np.sqrt(complex(k))
    a = np.cosh(sqrtk * s)
    b = np.sinh(sqrtk * s) / sqrtk
    c = sqrtk * np.sinh(sqrtk * s)
    d = np.cosh(sqrtk * s)
    return np.matrix([[a.real, b.real], [c.real, d.real]], dtype=np.double)