A truck is moving with constant acceleration a up a hill that
makes an angle phi = 15°; with the horizontal as in the figure
below. A small sphere of mass m is suspended from the ceiling of
the truck by a light cord. If the pendulum makes a constant angle θ
= 25° with the perpendicular to the ceiling, what is a? Note that
the string is not necessarily vertical.