# how do you enter a trig function such as cos*squared*(x) into the calculator

i need to enter the derivative of y=sin(x) which is cos(x). but in the problem, the cos(x) becomes squared, such as cos*squared*(x) how do i enter this into my calculator?