Pendulum

StreamPlot[{y,-Sin[x]},{x,-4Pi,4Pi},{y,-2,2}];
Plot3D[{.4, y y /2 + Cos[x]},{x,-4Pi,4Pi},{y,-2,2}];