Experimental and theoretical determination of transfer function of transformer windings