Differentiate Cos Squared Identity