A simple pendulum oscillates in the plane of a smooth wedge which moves with an acceleration A = g tan θ .The period of SHM is :