How to plot the cosine curve

Plot the adjacent distance left or right against degrees turned with a 1m long hypotenuse.