differential equations - Using EventLocator to detect periodic solutions in NDSolve - Mathematica Stack Exchange.htm