
(d) The horizontal acceleration $a$ of the wedge should be such that in time the wedge moves the horizontal distance $BC$. The body must fall through a vertical distance $AB$ under gravity. Hence,
$BC = \frac{1}{2}at^{2}$ and $AB = \frac{1}{2}gt^{2}$
tan$\theta = \frac{AB}{BC} = \frac{g}{a}\ $or $a = \frac{g}{tan\theta} = g\ cot\theta$