A current carrying solenoid is placed vertically and a particle of mass $m$ with charge $Q$ is released from rest. The particle moves along the axis of solenoid. If $g$ is acceleration due to gravity then the acceleration (a) of the charged particle will satisfy: