Simulate a Bouncing Ball

    
Model a bouncing ball and plot its total, kinetic, and potential energy:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Model a ball bouncing down steps and plot its total, kinetic, and potential energy:
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=