If maximum and minimum values of D=∣∣ ∣∣1−cosθ1cosθ1−cosθ1cosθ1∣∣ ∣∣ are p and q respectively, then the value of 2p+3q is _________.
If 2160 = 2p×3q×5r then find the values of p,q and r.