Inertial and noninertial reference frames

A body hangs on a rope from the ceiling in a standing train. The train starts moving with the acceleration . What is the angle between the rope and the vertical ?