Solution of the quasi-one-dimensional linearized Euler equations using flow invariants and the Magnus expansion | Synapse