Analytical approaches to oscillators with nonlinear springs in parallel and series connections