Text this: A State-Dependent Impulsive Nonlinear System with Ratio-Dependent Action Threshold for Investigating the Pest-Natural Enemy Model