Text this: Stability of adaptive systems: passivity and averaging analysis