Averaging method for quasi-periodic response solutions | Synapse