how do i type in tan^2 or cos^2 on the calculator?.. everyime i press tan or cos, parentheses automatically come up with it

you just input the number in the parenthesis, then square the result.