from #3 you got a table of x-values (measured in degrees!) and corresponding values of the gradient. call these values of the gradient y. Now you have a table of pairs which can be considered as the coordinates of points.
Sketch these points and connect them smoothly(?). You should get the graph of the cosine function.
Thus the cosine function is the gradient function of the sine function.