# Differentiating sin x and cos x

- Author:
- Chris Thomas

Choose y = sin x OR y = cos x.
Move point A along the curve y = sin x (OR D along y= cos x). The gradient of the curve at A (OR D) is calculated. The point with x-coordinate equal to that of A (OR D) and y-coordinate equal to the gradient is plotted. This shows the gradient of y = sin x (OR y = cos x) as x varies.
To get rid of the plots of the gradient from last time click on the reset icon in the top right hand corner.