Question: How can I code the eventfired option in a numeric dsolve containing an event?

The help page for dsolve,numeric,events says that "A call to a procedure-form dsolve numeric procedure" can return the time that one or more events fired by coding the eventfire option.

I do not know how to code for this.

Please provide a simple example of a procedure-form dsolve numeric with an event that exhibits this feature.

 

Please Wait...