If p and q are the lengths of perpendiculars from the origin to the lines x cos θ–y sinθ=3 cos 2θ and x sec θ+y cosec θ=3, respectively, then the value of p2+4q2 is
9
P=∣∣∣−3cos 2θ√sin2θ+cos2θ∣∣∣p=|3cos 2θ|
and q=∣∣∣3√sec2 θ+cosec2 θ∣∣∣=∣∣3sin2 θ2∣∣2q=|3 sin2 θ|p2+4q2=9