A block of mass m is placed on a smooth inclined wedge ABC of inclination θ as shown in the figure. The wedge is given an acceleration ‘a’ towards the right. The relation between a and θ for the block to remain stationary on the wedge is
(A) \(a=\frac{g}{cosec\,\theta}\)
(B) \(a=\frac{g}{sin\,\theta}\)
(C) a = g cos θ
(D) a = g tan θ