If cosθp=sinθq, then psec2θ+qcosec2θ is
Given P=[p002],Q=[0−q10] and R=[2−222]
If QP=R2, Find the values of p and q.