The derivation of the transfer function of a system from frequency response