Hybrid Dynamical Systems

    
Each time the solution crosses the negative axis, reflect it across the axis:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Compare the solutions for several different values of :
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=