A 5 -kg ball hangs at one end of a string that is attached to a support on a railroad boxcar. When the boxcar
accelerates to the right, the string makes an angle of 30° with the vertical. The acceleration of gravity is 9.8 m/s
and air resistance is negligible. Find the acceleration of the boxcar