Is there a way to calculate the maximum gradient of a graph? I have a graph of:

y=sin2(pi)x<---------pi being the number 3.1415

I was wondering if there was a way to calculate when the gradient of this graph is highest and what that gradient is.

Any suggestions will be appreciated.