A rotation matrix RRR has trace cosθ+cosθ=2cosθ\cos \theta + \cos \theta = 2\cos \thetacosθ+cosθ=2cosθ. What is the trace for a 90∘90^{\circ}90∘ rotation?
000
111
222
−1-1−1