Compute Symbolic Solutions for ODEs with Events 

Solve an ODE with a state-dependent event using DSolve.

In[1]:=
Click for copyable input
X
Out[1]=

This system models a bouncing ball.

In[2]:=
Click for copyable input
X
Out[2]=

Stop the integration of an ODE when an event occurs.

In[3]:=
Click for copyable input
X
Out[3]=

Remove an event after it has occurred once.

In[4]:=
Click for copyable input
X
Out[4]=
In[5]:=
Click for copyable input
X
Out[5]=

Specify that a variable maintains its value between events.

In[6]:=
Click for copyable input
X
Out[6]=
In[7]:=
Click for copyable input
X
Out[7]=
de es ja pt-br zh